search for: sblackstone

Displaying 4 results from an estimated 4 matches for "sblackstone".

Did you mean: blackstone
2006 Jul 24
4
Destroy action doesn''t work?
Hi all, Here is my Customer controller''s destroy method: ** def destroy Customer.find(params[:id]).destroy redirect_to :action => ''list'' end It''s stock, untouched scaffold code. When I submit the URL: http://localhost:3000/customers/destroy/11 The entry in the MySQL database with id 11 is not destroyed. The destroy method won''t
2006 Jul 25
6
DRY question (newbie)
Say i want to include the same chunck of text (a menu on a webpage for example) on each page. Is there a method by which I can save the HTML in a text file and call it up later? Is there a better way? I know ruby has "puts" but i can''t use that b/c it does not work with my webhost (dreamhost.com) Any suggestions? -- Posted via http://www.ruby-forum.com/.
2010 Oct 20
0
Patch to #5140 - same issue could be elsewhere...
In Ruby 1.9.2 theres this new functionality - responds_to_misisng? . Calls to this were being picked up by method_missing and causing some rather odd problems in active_record.. i added a patch to Lighthouse that takes care of this explicit case; my concern is given the wide dependence on method_missing within rails and particularly active record, this same bug could be present along other code
2006 Jul 24
7
[PATCH] Support for DB Clusters/Replication in ActiveRecord (RFC)
Skipped content of type multipart/alternative-------------- next part -------------- Index: connection_adapters/abstract/connection_specification.rb =================================================================== --- connection_adapters/abstract/connection_specification.rb (revision 4617) +++ connection_adapters/abstract/connection_specification.rb (working copy) @@ -1,10 +1,21 @@ require