bterkuile
Not a member
bterkuile's latest activity
Thursday, April 28 2011
-
bterkuile created the ticket at 10:33 AMmattr_accessor :config for module raises error (actionpack) after server restart.
Putting for example the following in config/initializers/break_it.rbmodule B...
Wednesday, April 20 2011
-
bterkuile created the ticket at 6:41 PMWhen a relation is triggered in an after_initialize block the includes statement will not do its magic and falls back to separate requests. A reproduction scena...
Thursday, December 23 2010
-
-
bterkuile created the ticket at 9:03 AMFailing test:
3.44444444444444444444444444444444444.round(2) #=> 3.44
3.round(2) #=> errorPossible fix:
class Fixnum
def round(*args) self end end
Friday, November 05 2010
-
bterkuile commented at 12:16 AMI created a fix for an issue specific to my problem where i manually removed scopes and add them later again when the rest of the query was build. This is not a...
Wednesday, November 03 2010
-
bterkuile commented at 2:39 PMThe best behaviour would be: Corporation.first.facilities.without_default_scope.to_sql => SELECT "facilities".* FROM "facilities" WHERE ("facilities".entity_id ...
Tuesday, November 02 2010
-
bterkuile commented at 9:28 AMwith better formatting:
class ActiveRecord::Base def self.default_scope(options = {}) key = :"#{self}_scoped_methods" Thread.current[key] = nil self.def... -
bterkuile commented at 9:23 AMThere is still an unsolved issue with this one:
I would like:
class Post
default_scope order(:title) default_scope where(:state => 'active') end
To be similar t...
Wednesday, August 04 2010
-
-
bterkuile created the ticket at 9:34 AMFor example the irregular inflection:
inflect.irregular 'mus', 'mussen' has a singular form ending with an s, and a plural form without. Testing with this:"mus...