Generate a controller with all the RESTful functions

Posted by Barb on Stack Overflow See other posts from Stack Overflow or by Barb
Published on 2010-03-23T22:38:24Z Indexed on 2010/03/23 22:43 UTC
Read the original article Hit count: 504

Hello,

I am trying to generate a controller with all the RESTful actions stubbed. I had read at link text that all I needed to do was to use call the generator with just a controller name I would get just that. So, I ran "script/generate rspec_controller Properties" and I got an empty controller.

Any other suggestions would be greatly appreciated.

© Stack Overflow or respective owner

Related posts about ruby-on-rails

Related posts about rspec