in my controller
class RolesController < ApplicationController
active_scaffold :role do |config|
config.nested.add_link("user", :users)
end
end
class UsersController < ApplicationController
active_scaffold :user do |config|
end
end
i my model
class Role < ActiveRecord::Base
has_many :user
end
class User < ActiveRecord::Base
belongs_to :role
end
for the above lines of code it fails to generate nested scaffold
--
You received this message because you are subscribed to the Google Groups
"ActiveScaffold : Ruby on Rails plugin" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/activescaffold?hl=en.