[Rails-core] little improvements for active_model

2016-04-18 Thread Dmitry Gautsel
Hi all. What do you think about little improvements listed below? before: { error: message }.merge(options.except(*CALLBACKS_OPTIONS + MESSAGE_OPTIONS)) after: { error: message }.merge*!*(options.except(*CALLBACKS_OPTIONS + MESSAGE_OPTIONS)) before: matchers.map { |method| method.match(m

Re: [Rails-core] Generate guides section headers as anchor links to themselves

2016-04-18 Thread Xavier Noria
Sounds great, would you like to work on a patch? -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-core+unsubscr...@googlegroups.com. To post to

[Rails-core] Generate guides section headers as anchor links to themselves

2016-04-18 Thread Vjatseslav Gedrovits
Hi, I have a suggestion to improve usability of http://guides.rubyonrails.org/ How about making headers to anchors to themselves or other solution like in http://getbootstrap.com/css/#tables (if you hover on header it allows you to copy anchor link) Yes, there is a 'table of contents' at the s