Module

GetArgs

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_args Returns an array of method arguments and their default values Example:
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.