Class: Merb::Generators::ResourceControllerGenerator

Class | Merb::Generators::ResourceControllerGenerator
In: | lib/generators/resource_controller.rb
Parent: | NamespacedGenerator

### Methods

add_resource_route model_class_name params_for_get plural_model properties resource_path singular_model skip_route_definition? source_root

### Public Class methods

source_root()

### Public Instance methods

add_resource_route(plural_resource)
model_class_name()
params_for_get()

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

plural_model()
properties()

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

resource_path()
singular_model()
skip_route_definition?()

[Validate]