rails console get all -
rails console get all -
i have simple question rails console, if want single business relationship this: y account.find_by_zipcode("xxxxx")
this returns me 1 account, if want accounts have zipcode. lot.
have tried account.find_all_by_zipcode('xxxxx')
?
ruby-on-rails rails-console
Comments
Post a Comment