README.md in auxiliary_rails_resourceable-0.1.2 vs README.md in auxiliary_rails_resourceable-0.1.3
- old
+ new
@@ -42,10 +42,12 @@
_search_form.html.erb
```
## Usage
+Just define `ResourcesController` and inherit controllers from it for fulfilling them with the all the basic CRUD actions.
+
```ruby
# app/controllers/resources_controller.rb
# @abstract
class ResourcesController < ApplicationController
include AuxiliaryRails::Concerns::Resourceable
@@ -87,10 +89,10 @@
```
## References
This gem is heavily inspired by [inherited_resources](https://github.com/activeadmin/inherited_resources) and [activeadmin](https://github.com/activeadmin/activeadmin).
-It even follows the naming for helpers of `inherited_resources` and, in simple cases, can be used as a drop-in replacement with no or just a few code changes.
+It even follows the naming for helpers of `inherited_resources`, but much lighter (~250 lines of code only), with an approach of "just overwrite what you need" instead of complex configuration options. And, in simple cases, can be used as a drop-in replacement with no or just a few code changes.
## Development
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.