Hello, I just send a new pull request. You can see it here : https://github.com/rails/rails/pull/7189. I don''t know if there is a better way to do what I want but it''s the solution I found. Can you check it please? Thanks! -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to rubyonrails-core@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-core+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en.