opps! you're right Kendall =) ... I feel like a Rails noob =) On Fri, Jul 22, 2011 at 4:20 PM, Kendall Gifford <zettab...@gmail.com> wrote: > > > On Thursday, July 21, 2011 11:14:03 PM UTC-6, Rajinder Yadav wrote: >> >> $ rails g scaffold title:string description:test >> >> invoke active_record >> >> /usr/local/lib/ruby/gems/1.9.1/gems/railties-3.0.9/lib/rails/generators/base.rb:266:in >> `const_defined?': wrong constant name Title:string (NameError) >> from > > You left off the name of the resource to generate and went straight into the > field definitions. > > $ rails g scaffold <name> title:string description:test > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/rubyonrails-talk/-/IEGvM_xBfJQJ. > To post to this group, send email to rubyonrails-talk@googlegroups.com. > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. >
-- Kind Regards, Rajinder Yadav | DevMentor.org | Do Good! ~ Share Freely GNU/Linux: 2.6.35-22-generic Kubuntu x86_64 10.10 | KDE 4.5.1 Ruby 1.9.2p0 | Rails 3.0.1 -- 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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.