Used in mapping controller arguments to the params hash. NOTE: You must have the ‘ruby2ruby’ gem installed for this to work. Example:
(In PostsController) def show(id) #=> id is the same as params[:id]
| Public Methods | |
|---|---|
| get_ |
Returns an array of method arguments and their default values Example: |
<code/>and<pre/>for code samples.