ActiveScaffold::DataStructures::NestedInfo
# File lib/active_scaffold/data_structures/nested_info.rb, line 142 def initialize(model, params) super @scope = params[:named_scope].to_sym @param_name = parent_model.name.foreign_key.to_sym @parent_id = params[@param_name] @constrained_fields = [] end
# File lib/active_scaffold/data_structures/nested_info.rb, line 154 def name self.scope end
# File lib/active_scaffold/data_structures/nested_info.rb, line 150 def to_params super.merge(:named_scope => @scope) end
[Validate]
Generated with the Darkfish Rdoc Generator 2.