Peter Marklund
Rails Developer · Not a member
Peter Marklund's latest activity
Tuesday, June 15 2010
-
Peter Marklund commented at 3:32 PMI like this patch as it enabled global disabling of the cache. To me it would make sense to have an enabled attribute on the Rails.cache object, something I ach...
Tuesday, September 08 2009
-
Peter Marklund commented at 11:07 PMI don't really see a practical risk of backwards incompatibility in this change. Can someone please show me a use case that breaks?
Yes, you are right Michael, ...
-
Peter Marklund commented at 12:38 AMMatt,
there reason I checked for Enumerable was because I needed to use the map method. It seems reasonable to require that if you want to select multiple value...
Monday, September 07 2009
-
Peter Marklund commented at 9:49 AMActually a more common use case for running into this issue is that the option values in the select are ActiveRecord integer ids. What's wrong with this code?
...
Sunday, September 06 2009
-
Peter Marklund commented at 8:37 AMIt's probably unusual that you have anything other than strings or symbols as options, but if you do, it seams reasonable that the objects that you use have a s...
Friday, September 04 2009
-
Peter Marklund commented at 7:02 AMAdded tests for when the selection or one of the options is nil.
Thursday, September 03 2009
-
Peter Marklund created the ticket at 11:56 PMA gotcha I've run into a number of times is that my options array for a select box will be integers or symbols but the param to select an option will be a strin...
Thursday, June 11 2009
-
Peter Marklund created the ticket at 1:36 PMIf you in your environment.rb have set "config.active_record.schema_format = :sql" then the Rake task db:schema:load (and the upcoming db:setup task in Rails 3 ...
Thursday, May 14 2009
-
Peter Marklund commented at 8:35 AMHi Michael!
I agree with you that the find_initial approach seems like the best at this point. I've attached a patch file.Thanks!
Peter
Sunday, May 10 2009
-
Peter Marklund commented at 9:44 PMJust to clarify, the implementation of exists? from my original patch looked like this:
def exists?(id_or_conditions = {}) find_initial( :select => "#{qu...