fyi, it goes in the select portion.

On Mon, Dec 20, 2010 at 11:26, Chris Habgood <[email protected]> wrote:

> I know enough sql I was not sure where to put it in the rails 3 finders.
>
>
> On Mon, Dec 20, 2010 at 11:23, Marnen Laibow-Koser 
> <[email protected]>wrote:
>
>> Chris Habgood wrote in post #969587:
>> > OH, is there a way to do the REMOVE sql command using the finders so I
>> > would
>> > not have to loop over the whole set and replace items?
>>
>> Yes. You can write your WHERE clause to do that.
>>
>> Now, put aside Rails for the next few days, and study a good elementary
>> SQL reference.  If you're asking questions like these, you need to go
>> learn SQL as such.
>>
>> Best,
>> --
>> Marnen Laibow-Koser
>> http://www.marnen.org
>> [email protected]
>>
>> Sent from my iPhone
>>
>> --
>> 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]<rubyonrails-talk%[email protected]>
>> .
>> For more options, visit this group at
>> http://groups.google.com/group/rubyonrails-talk?hl=en.
>>
>>
>

-- 
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