Parent

Merb::Generators::ResourceControllerGenerator

Public Instance Methods

params_for_get() click to toggle source

TODO: fix this for Datamapper, so that it returns the primary keys for the model

   # File lib/generators/data_mapper_resource_controller.rb, line 3
3:   def params_for_get
4:     "params[:id]"
5:   end
properties() click to toggle source

TODO: implement this for Datamapper so that we get the model properties

    # File lib/generators/data_mapper_resource_controller.rb, line 8
 8:   def properties
 9:     []
10:   end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.