Skip to content
This repository has been archived by the owner on Feb 1, 2019. It is now read-only.

doc #12

Merged
merged 1 commit into from
Sep 11, 2014
Merged

doc #12

Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,6 @@
This gem provides an alternative implementation of strong_parameters
This gem provides an alternative implementation of strong_parameters.
There are two ways to access parameters:
- to access a simple scalar using Hash-access syntax: params[:value]
- to access a complex structure using strong_parameters' syntax: params.permit[:value => [:subvalue, another_value:]]

In both cases, symbols should be used as keys.