Skip to content
Extension architecture and misc extensions for resource_controller
Ruby
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
lib
test
.gitignore
README.rdoc
Rakefile
init.rb

README.rdoc

Extensions to resource_controller for fun and profit.

class UsersController < ApplicationController
  resource_controller
  add_extensions :all
  # add_extensions :delete, :searchlogic, :index_preload, :improved_error_handling, :update_all

  index.preload :current_training_application, :addresses, :certifications

  # index.per_page 10 # not yet implemented!
end

To run the tests, simply place this plugin in a directory that also contains resource_controller and searchlogic.

Currently the tests fail when run together (`rake tests`); they will need to be refactored so that they do not influence each other.

Something went wrong with that request. Please try again.