bug in AR/AM and bug in AM

Hi,

I'd like to get some attention for these two little yet important
bugs:
http://rails.lighthouseapp.com/projects/8994/tickets/5252
http://rails.lighthouseapp.com/projects/8994/tickets/5249

Thanks,
Corin