Re: [Rails] find_by_sql Method
On Fri, Aug 19, 2011 at 9:36 AM, Charles Otieno <lists@ruby-forum.com> wrote:
> I am querying the courses table for specific courses that belong to
> specific institute using this sql statement.
Why are you writing SQL statements instead of taking advantage of
associations, one of Rails' most powerful features?
--
Hassan Schroeder ------------------------ hassan.schroeder@gmail.com
http://about.me/hassanschroeder
twitter: @hassan
--
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 rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home