List all methods related to a model which scaffold creates
Is there a way to list all methods which scaffold creates regarding Ruby on Rails? Example: rails generate scaffold user name:string admin:references Now, within the controller, the following declaration is possible: @user = User.new @user.admin=current_admin Now, I want to check where the admin() method comes from – or where it is placed respectively. I tried… Read More List all methods related to a model which scaffold creates