mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
67a838574b
Following namespace use case was broken with Ruby 1.9: class Author < ActiveRecord::Base ... end module Api class Book < ActiveResouce::Base end end Let's say XML contains <book><author><name>John</name></author>.... Api::Book.first.author.class.to_s #=> Ruby 1.8.7: "Api::Book::Author" (namespaced, correct), Ruby 1.9: "Author" (toplevel, broken) Signed-off-by: José Valim <jose.valim@gmail.com> |
||
---|---|---|
.. | ||
address.rb | ||
beast.rb | ||
customer.rb | ||
person.rb | ||
project.rb | ||
proxy.rb | ||
sound.rb | ||
street_address.rb | ||
subscription_plan.rb |