Re: [Rails] New rails user - Trying to understand why console wont run save command
On 26 November 2011 19:09, Steve Mr. <lists@ruby-forum.com> wrote:
> However when I try to save a record using:
>
>>> subject = Subject.new(:name => "First Subject", :position => 1", :visible =>
> true)
>
> Nothing happens.
You've got an extra quote in there after :position...
--
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