Ronald Fischer wrote in post #1146690: > Rails 4.1.1, Ruby 2.1.1, OSX 10.6 > > This works: > > rails generate model Word repr:string level:integer atari:integer > triple:references > > This does not: > > rails generate model -p Word repr:string level:integer atari:integer > triple:references > > It raises the error message: > > .../ruby-2.1.1/gems/spring-1.1.3/lib/spring/client/run.rb:73:in > `connect_to_application': Error connecting to Spring server > (RuntimeError) > from If you take a look in the helper ( rails generate model -h) the options are after attributes of your model like this rails generate model Word repr:string level:integer atari:integer triple:references -p
-- 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 unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscr...@googlegroups.com. To post to this group, send email to rubyonrails-talk@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/217503b9c9d9ab1ba5526603ad02ed3a%40ruby-forum.com. For more options, visit https://groups.google.com/d/optout.