attribute_condition in Rails 2.3.1 [PATCH]
Reported by Stephen Heuer | March 5th, 2009 @ 09:08 AM
attribute_condition in rails 2.3.1 now takes the name of the table and column in addition to the value.
Patch is attached.
Comments and changes to this ticket
-
Zach Dennis March 6th, 2009 @ 12:07 PM
Thanks Stephen, do you know if the patch is backwards compatible with Rails 2.1.2 and Rails 2.2.2?
-
Zach Dennis March 9th, 2009 @ 09:23 PM
Thanks Stephen. The patch looks simple enough yet it breaks half the tests. I don't have time to look at right now, but I will put it on my docket for later this week.
-
Zach Dennis March 16th, 2009 @ 09:54 PM
- State changed from new to resolved
This is fixed in commit: http://github.com/zdennis/ar-ext...
The fix will be pushed in ar-extensions 0.8.2 gem release which should be available on a rubygem mirror near you.
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
ActiveRecord::Extension (aka ar-extensions) is a plugin to extend and
enhance the functionality of ActiveRecord. It starts by adding better
find support for ActiveRecord. It then adds mass data import
capabilities which are highly efficient and lastly it supports to_csv
functionality.
It also introduces a cool concept of creating easily extendable pieces
of ActiveRecord functionality, so developers don't have to understand
ActiveRecord internals or have the fear of breaking ActiveRecord
itself.