RailsCasts Pro episodes are now free!

Learn more or hide this

brunovandamme's Profile

GitHub User: brunovandamme

Comments by

Avatar

Is it possible to use the attributes variable in the controller when using the scaffold generator? I would like to automatically generate two put actions 'up' and 'down' in my controller, if the generated resource has a position attribute. But I get an error saying it does not find the attribute variable. Any idea?