A
Achim Domma (SyynX Solutions GmbH)
Hi,
I try to learn Rails and Ruby in parallel. I've read in 'Programing
Ruby' about methods, objects, ... but now I have a question. Here's the
code snippet from 'Rolling with Ruby ...':
class RecipeController < ApplicationController
scaffold :recipe
end
What exactly is 'scaffold' in this case? A class method of
ApplicationController? Does this method manipulate the RecipeController
class somehow? Or am I on the complete wrong way?
regards,
Achim
I try to learn Rails and Ruby in parallel. I've read in 'Programing
Ruby' about methods, objects, ... but now I have a question. Here's the
code snippet from 'Rolling with Ruby ...':
class RecipeController < ApplicationController
scaffold :recipe
end
What exactly is 'scaffold' in this case? A class method of
ApplicationController? Does this method manipulate the RecipeController
class somehow? Or am I on the complete wrong way?
regards,
Achim