Samuel Danielson
Not a member
Samuel Danielson's latest activity
Thursday, February 25 2010
4054
ActiveRecord casts everything to a string when Arel select is used.
was created
in Ruby on Rails
-
Samuel Danielson created the ticket at 2:59 PMI can reproduce this behavior with both sqlite and postgresql in rails 3.0.0.beta1.
>> AnyModel.select('1.0 as t').first.t => "1.0" >> AnyModel.select('1 as t...
3871
Chaining scopes can trigger excessive db queries
was updated
in Ruby on Rails
-
Samuel Danielson commented at 5:37 AMThanks for the patch. Went from this
>> Cow.after('a').after('b').after('c').after('d').all Cow Load (0.5ms) SELECT "kine".* FROM "kine" WHERE (name > 'a') ...
Tuesday, February 23 2010
3930
Uncountable inflections lead to exception with Rails 3 scaffolding
was updated
in Ruby on Rails
-
Samuel Danielson commented at 9:13 PMI can confirm this bug. fish_url and fish_path will also raise
No route matches {:action=>"destroy", :controller=>"fish"}The following...
resources :fish, :...
Thursday, February 04 2010
3841
link_to does not respect options like :confirm and :popup if url is specified...
was updated
in Ruby on Rails
-
Samuel Danielson commented at 4:21 PMThe proper results in
<%=link_to "Delete asset","post/delete/#{post.id}",:confirm=>"Do u want to delete this post"%>are due to you passing :confirm as the th...