When looking up the created_after automatic scope, create_scope does this:
col = column("#{$1}_(at|date|on)")
On my box, this always returns nil. column("#{$1}_at") works perfectly. I
assume this is a sqlite3 limitation.
So, if you're wondering why the date-related automatic scopes don't work in
your dev environment, this is probably why.
Affected scopes:
col_before
col_after
col_between
- Scott
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Hobo
Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/hobousers?hl=en
-~----------~----~----~----~------~----~------~--~---