Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Resource nested hash support #42
I use Weary for my client. In some my API i use ransack and often i have a nested hash in params. For example i have rest people index api, where three hash keys.
get :people, "/api/people.json" do |resource| resource.optional :q, :per_page, :page end
Here page and per_page integer option, and q - ransack search nested hash.
It's famous addresable issue sporkmonger/addressable#36 which fixed in addresable 2.2.7 and broken in addresable 2.3.