Module: Resourceful
- Defined in:
- lib/vendor/plugins/make_resourceful/lib/resourceful/base.rb,
lib/vendor/plugins/make_resourceful/lib/resourceful/maker.rb,
lib/vendor/plugins/make_resourceful/lib/resourceful/builder.rb,
lib/vendor/plugins/make_resourceful/lib/resourceful/response.rb,
lib/vendor/plugins/make_resourceful/lib/resourceful/serialize.rb,
lib/vendor/plugins/make_resourceful/lib/resourceful/default/urls.rb,
lib/vendor/plugins/make_resourceful/lib/resourceful/default/actions.rb,
lib/vendor/plugins/make_resourceful/lib/resourceful/default/accessors.rb,
lib/vendor/plugins/make_resourceful/lib/resourceful/default/callbacks.rb,
lib/vendor/plugins/make_resourceful/lib/resourceful/default/responses.rb
Overview
The module containing all the code for make_resourceful.
For methods available in the make_resourceful
block, see Resourceful::Builder.
For helper methods and methods you can override to customize the behavior of your actions, see Resourceful::Default::Accessors and Resourceful::Default::URLs.
Defined Under Namespace
Modules: Base, Default, Maker, Serialize Classes: Builder, Response
Constant Summary collapse
- ACTIONS =
The default actions generated by make_resourceful.
[:index, :show, :edit, :update, :create, :new, :destroy]
- MODIFYING_ACTIONS =
The actions that modify the database.
[:update, :create, :destroy]
- PLURAL_ACTIONS =
The actions that act on multiple records.
[:index]
- SINGULAR_ACTIONS =
The actions that act on just one record.
ACTIONS - PLURAL_ACTIONS
- SINGULAR_PRELOADED_ACTIONS =
The actions that act on just one record.
SINGULAR_ACTIONS - [:new, :create]