Adrian Mugnolo
Not a member
Adrian Mugnolo's latest activity
Friday, February 20 2009
-
Adrian Mugnolo commented at 6:22 PMEr, sorry. I meant:
default_scope lambda { {:order => column_translated(:name)} } -
Adrian Mugnolo commented at 6:21 PM+1
I've found that this would be very useful for simple model i18n like in:
default_scope :ordered, lambda { {:order => column_translated(:name)} }
Saturday, August 23 2008
-
Adrian Mugnolo commented at 7:13 PM+1 for Tarmo's idea. Still, I would stop there and don't try to check if the referenced model includes the matching has_many/has_one.
-
Adrian Mugnolo commented at 3:09 PMAgree with Glenn. The generated fixtures are actually giving you a hint about the "foxy fixtures" feature. This allows using record label references instead of...
Monday, August 04 2008
-
Adrian Mugnolo created the ticket at 4:36 PMThis patch adds a :last scope to ActiveResource::Base.find following ActiveRecord::Base semantics. A test case is included.
Person.find(:first, :from => :mana...
Tuesday, July 15 2008
Thursday, July 10 2008
-
Adrian Mugnolo commented at 6:44 AMRSL, thanks for coming up with much better wording and code samples! :-)
-
-
Adrian Mugnolo commented at 2:07 AMPratik,
I would gladly continue the discussion in the Rails Core mailing list. Still, let me comment on complexity and use cases.
The method interface match...