I have two tables 'users' and 'lms_users'
class LmsUser
belongs_to :user
end
class User
has_one :lms_user
end
When I write User.all(:joins => :lms_user)
it joins tables with Inner join.
I want a Left join. How can change this behavior? (I don't want to use SQL commands, only Ruby syntax for this.)
How can I handle this?