Lawrence Pit
Not a member
Lawrence Pit's latest activity
Sunday, May 02 2010
-
Lawrence Pit commented at 10:23 AMfyi: I'm going to pursue this via various new tickets. First step is done, which allows linking/unlinking of records from a habtm assocation using :autosave => ...
-
Lawrence Pit created the ticket at 10:19 AMAttached patch for rails 3 allows to link and unlink records from a HABTM relation with autosave. Meaning the association updates will only be reflected in the ...
Friday, April 30 2010
-
Lawrence Pit commented at 8:17 AM+1 on the idea, not for the implementation as is. I don't believe these constraint errors are always presented in English Instead of checking for English words ...
-
- Assigned user cleared.
I hadn't, but just tried. So the options are now passed on, yes. Unfortunately, the to_xml method contains a bug, for which I opened a separate ticket: https:/...
-
Lawrence Pit created the ticket at 1:40 AMWhen calling e.g. record.to_xml(@person, :include => [:company]) the xml output has multiple xml instruct elements. For example:
<?xml version="1.0" encoding="...
Thursday, April 29 2010
-
Lawrence Pit created the ticket at 2:10 PMUsing rails 3 beta 3. In Rails 2 you could do:
format.xml { render :xml => @person.to_xml(:include => @company) }In rails 3 it's preferred to simply do:
...
Wednesday, April 28 2010
-
Lawrence Pit commented at 8:11 AMActually, just found out that all my middlewares are sitting before ActiveRecord::ConnectionAdapters::ConnectionManagement. Perhaps the position of ActionDispat...
-
Lawrence Pit created the ticket at 1:41 AMUsing rails 3 beta 3. I have a piece of metal code, and I think it's fair to assume that most users will use some ActiveRecord code in there to retrieve some da...
-
Lawrence Pit commented at 8:06 AMI've moved it to config/application.rb, and now I see the stack. Thnx.
The reason I'd put it in environment.rb is because that's what's being advertised everywh...
-
Lawrence Pit created the ticket at 12:19 AMI'm on rails 3 beta 3, and defined to use a middleware in environment.rb:
MyApp::Application.configure do config.middleware.use '::ExceptionNotifier...