Lawrence Pit
Not a member
Lawrence Pit's latest activity
Sunday, February 06 2011
Saturday, November 06 2010
-
Lawrence Pit created the ticket at 4:41 AMThe create_database method of databases.rake creates a mysql database with default charset utf8 and default collation of utf8_unicode_ci. These values can be ov...
Friday, August 20 2010
-
- Importance changed from to
Rack's specification states: "The values of the header must be Strings" -- http://rack.rubyforge.org/doc/files/SPEC.html
Rack is not going to change its spec.
S...
Tuesday, August 03 2010
-
Lawrence Pit created the ticket at 8:07 AMrespond_with used to output this on errors:
<?xml version="1.0" encoding="UTF-8"?> <errors type="array"> <error>Name is invalid</error> </errors>...
-
Lawrence Pit commented at 4:05 AMThe easiest way to go about this is to create your own middleware, and insert it before the ActiveRecord::QueryCache middleware in your application.rb. This mid...
Monday, August 02 2010
-
Lawrence Pit created the ticket at 7:54 AMUsing Rails 3 RC: when posting/putting data, and a validation fails, an "errors" array is send back. This works if the format is xml, but if the format is json ...
Monday, June 21 2010
Friday, June 11 2010
-
Lawrence Pit commented at 1:23 AMIn development mode I do want to reload the classes on each request, just not all the i18n stuff, so delegating to cache_caches is not what I want.
I think > 90...
Thursday, June 10 2010
-
Lawrence Pit commented at 2:09 PMBtw, in rails 3 I18n.reload! is called twice on initialization in railtie.rb, namely in "i18n.initialize" and in the after_initialize. Not sure if any of the tw...
-
Lawrence Pit created the ticket at 2:03 PMIn development mode on each request I18n.reload! is called. If you use a custom backend that e.g. loads all translations from a database this will significantly...