Newb Newb wrote:
> Colin Law wrote:
>> 2009/11/11 Newb Newb <[email protected]>:
>>> before changing the db the application was working fine..
>>> so wat would be problem in my database or something...where i have to
>>> lookup
>>> Kindly Provide Me Your Views for my issue..
>>>
>> 

>> @newsinfo = News.find(1)
=> #<News id: 1, newstext: "positive">
>> @newsinfo.update_attribute(:newstext,"attitude")
=> true

i run the above script in my ruby console

it has outputed the above

Thanks for any ideas
-- 
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