Pat George
Not a member
Pat George's latest activity
Wednesday, February 09 2011
6147
find_or_create via has_many fails for hash parameters
was updated
in Ruby on Rails
-
Pat George commented at 5:59 PMSorry for the bad code block.
>> account = Account.first; params = { :url => "google2311.com", :token => "foo2311", :user_id => account.users.first.id } >> acc... -
Pat George commented at 5:57 PM- I just updated an old Rails 2.3.4 project to 2.3.11 (for the security update) only to discover all our "object.association.find_or_create_by_attr1_and_attr2(ha...
Friday, January 23 2009
1781
Patch to BelongsToAssociationTest to support handling of empty strings in Oracle
was updated
in Ruby on Rails
Saturday, June 07 2008
333
Autocorrect plural ModelName passed to script/generate scaffold
was updated
in Ruby on Rails
-
Pat George commented at 1:02 AMAssuming we come to an agreed upon solution and I get the 3 +1s necessary, I'll be looking into Ryan's suggestion next (to put the auto correction code into ot...
Friday, June 06 2008
333
Autocorrect plural ModelName passed to script/generate scaffold
was updated
in Ruby on Rails
-
Pat George commented at 4:26 PMI think prompting the user involves more effort than it's worth on the code front.
I do see your point but I think Jeremy's accidental example made it clear t...
-
Pat George commented at 2:46 PMPratik,
The only other place I found in which a prompt is used in generation - Rails::Generator::Commands::Create.file - can be overridden by the --force and ...