Re: [Rails] Re: find() and then save() with select()
On 4 March 2012 16:34, arturturik <artur@intech.ee> wrote:
> Nope, i can't. It gets not saved.
Well you are doing it wrong then.
Colin
>
> On Mar 4, 6:17 pm, Norm Scherer <normsche...@earthlink.net> wrote:
>> On 03/04/2012 08:10 AM, arturturik wrote:> * 1. update_attribute makes no validation
>>
>> But update_attributes does use validation. You can use
>> update_attributes with only a single attribute.
>
> --
> 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.
>
--
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