Thank You Sijo

On Jun 5, 1:27 pm, Sijo k g <[email protected]> wrote:
> > Teacher.find(:all, :condition => { :grade => 9..12})
>
>     This means getting all records from teacher table teachers where
> column grade has value between 9 & 12.
>
>    select * from teachers where grade between 9 and 12
>
> Sijo
>
> --
> Posted viahttp://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