Jason Langenauer
Not a member
Jason Langenauer's latest activity
Tuesday, November 23 2010
6021
Make User[:id] returning Arel::Attributes::* instance as a shortcut to use AR...
was updated
in Ruby on Rails
-
Jason Langenauer commented at 4:38 AM+1
I've monkey-patched something exactly like this into a Rails application I've been working on. It turns out to be very workable and produces quite succinct c...
Tuesday, November 16 2010
-
Jason Langenauer commented at 10:48 AMThis bug appears to have regressed in Rails 3.0.2 - I'm seeing the same error raised from a PostgreSQL BIGINT column. Stack trace below:
arel (2.0.2) lib/arel/a...
Saturday, November 13 2010
5959
It is no longer possible to use Non-Integer id columns in rails 3
was updated
in Ruby on Rails
-
Jason Langenauer commented at 9:52 PMI think you need to investigate this a bit further. I've got a Rails 3.0.1 app which also uses non-Integer primary keys (in my case, just a string though), and ...
Friday, April 23 2010
4406
numericality validation gives misleading error message when only_integer is used
was updated
in Ruby on Rails
-
- Tag set to patch
Here's a patch with tests to resolve this issue - it's a patch against 2.3.5
The only minor issue is that it hard-codes the use of "." as the numeric separator,...