-
Notifications
You must be signed in to change notification settings - Fork 0
This plugin allow you to convert single nested hash into param
License
kayinrage/single_nested_hash_to_param
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
====== ====== ==== == ===== SINGLE NESTED HASH TO PARAM ====== ====== ==== == ===== This plugin extend hash class with single_nested_hash_to_param method. It works like to_param but for single-neste hash like for example {:person=>{:name=>"Irek", :surname=>"Skrobis", :profession=>"Developer"}} Installation: ============= ruby script/plugin install git@github.com/kayinrage/single_nested_hash_to_param.git Examples: ========= hsh = {:person=>{:name=>"Irek", :surname=>"Skrobis", :profession=>"Developer"}} hsh.single_nested_hash_to_param => "?person[name]=Irek&person[surname]=Skrobis&person[profession]=Developer" Copyright (c) 2010 Irenuesz Skrobis, released under the MIT license
About
This plugin allow you to convert single nested hash into param
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published