On 25 mayo, 11:11, Colin Law <[email protected]> wrote: > On 25 May 2010 15:40, vladimirprieto <[email protected]> wrote: > > i got to merge a hash of parameters for every action for every > > controller. the only thing i could image is modifying a super class > > method. > > No doubt I am showing my ignorance (as usual),
well, at least we are 2! ;) > but could you explain in more detail what you are trying to do? is difficult to explain, but i'll try: on simple words: a search form, with some inputs (search value, search operator, search order an so on) the problem: on every search, results can be edited, or if the users wants to, create a new one (after a search), or just show a record (= CRUD). but, after any CRUD action, it must go back to the orginal search made. multiply this behaviour to all controllers. so, i could (in fact i did) pass every single search input like hidden inputs in order not lose those values between actions and views for everycontroller. but i want something more clean and more "automaticly". this will take more relevance, as i c controllers will be more and more through time. hope is more clear now. thanks. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

