Added default actions for bulk operations and generated routes
This is more of a test to understand that wether I'm on the right track!
Fixed typo by replacing :replace_all by :destroy_all
Added default actions to canonical actions
Removed :create_many as it was unnecessary and collided with :create
Renamed canoncial methods.
:replace_all is now :replace and other *_all methods are now *_many
Wrote a non working preliminary test for collection routing.
Added bulk routing with :ids parameter checking
Removed tabs from a blank line. Formatting quirkiness
Added , to the DEFAULT_EXP
Added collection routing mechanism to the collection method.
Renamed the :bulk option to :collection
Swapped :create and :replace for cleaner code
Made :ids and :format separately option.
Merged put, patch and delete into a single if
Created a small utility method collection_routing to check if the Resource is a collection too
Moved collection_routing? to Resource.
Added a flag to Resource to mark collection_routing.
Added a collection_param variable to Resource and added edit_many path.
Now collection routing path generations matches the regular path generation flow.
Added range parsing to parameters
If a range is detected then illegal values are removed from the final array of ranges and integers.
Removed ',' from the DEFAULT_EXP as it isn't required anymore for regular resourceful routes.
Added :show_many that accepts :ids whereas :index now acts as originally for individual resources.
Added collection routing test file.
Forgot to track it previously.
Added API to strong parameters to parse ranges.
The API makes sure that the parameter values lie within the given given range.
Added tests for range parameters.
If you provide range while permitting a parameter then all comma separated values passed as the parameter should lie within that range.