>
> And I hope comma in this query will act as logical AND.

@loan = LoanTable.where(:memberCode => tmember_code, :loanType => "1") 

memberCode of LoanTable contains the same values of member_code of Member 
table.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/ccb7664b-b0e8-4163-8a98-bf0b539c6c36%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to