Bob wrote:
> Hi
> 
> how about this?
> 
> category = Category.find some_id
> projects = category.projects
> 
> projects = Project.find_all_by_category(some_id)  will not work,
> because find_all_by_... methods work only for existing columns in
> table
> 
> Hope it helps )

I think I understand what you're saying!

Thanks a bunch!
-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to