Displaying 1 result from an estimated 1 matches for "know_attributes".
2010 Dec 25
0
Some ActiveResource issues
Hi,
1. Is there any particular reason to not return ActiveResource objects
when calling custom methods on Resources? Currently depending on
request type, ARes returns hash or Net::HTTP::XXX responses.
2. I think know_attributes should be inheritable between ARes classes.
Is there any reason to not do so?
3. custom methods can''t be directly overridden in plugins via modules,
because methods are directly defined via, "class << self". I have
submitted a trivial patch that fixes the behaviour,
https:/...