Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Victor Costan's latest activity

Thursday, May 06 2010
4546 Incorrect suggestion in exception for missing session key was created in Ruby on Rails
  • Victor Costan
    Victor Costan created the ticket at 9:31 PM

    in /actionpack/lib/action_dispatch/middleware/session/cookie_store.rb:180

    config.action_controller.session_store :cookie_store

    should be

    config.session_store :c...

Tuesday, April 27 2010
4486 New UJS helpers do not have a way to render a "loading..." text / icon was created in Ruby on Rails
  • Victor Costan
    Victor Costan created the ticket at 8:34 AM

    I am migrating an application from Rails 2.3 to Rails 3, and I looked through the code in actionpack/lib/action_view/helpers/ and I couldn't find a way to displ...

Wednesday, April 21 2010
1117 Serialized fields + sqlite :binary columns = exception was updated in Ruby on Rails
  • Victor Costan
    • Tag changed from 2.1.activerecord, activerecord, bug, serialization, serialize, serialized, sqlite to 2.1.activerecord, activerecord, bug, rails3, serialization, serialize, serialized, sqlite
    by Victor Costan at 5:51 AM

    With the help of Boston.rb (especially Dan Pickett), I put together a failing test. The patch applies cleanly to both master and 2.3-stable.

    The test passes for...

Friday, September 26 2008
1117 Serialized fields + sqlite :binary columns = exception was updated in Ruby on Rails
  • Victor Costan
    Victor Costan commented at 8:13 AM

    More debugging:

    I first tried to fix the error in dirty.rb, by replacing field_changed? with the following:

      def field_changed?(attr, old, value)
        if colum...
  • Victor Costan
    Victor Costan created the ticket at 6:43 AM

    I have a serialized field. In my migration, I use the type :binary for the column. This works fine on mysql, but raises the following on sqlite3:

    NoMethodError...