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.

There was a problem

You must be a member of this account.

Hery's latest activity

Tuesday, July 13 2010
2933 2.3.2 update_attributes save many-to-many associations was updated in Ruby on Rails
  • Hery
    Hery commented at 5:00 PM

    Yes you had !

      SQL (0.4ms)  DELETE FROM "countries_treaties" WHERE ("countries_treaties"."country_id" = 3 AND "countries_treaties"."treaty_id" IN (8))
    

    It del...

  • Hery
    Hery commented at 1:38 PM

    Hi Neeraj,

    I would like to point that you did not use update_attributes method

    Here is a modified test case and as you can see, it is the same behaviour as in 2...

Sunday, July 04 2010
5006 ActiveSupport::BufferedLogger and us-ascii message on ruby 1.9.x was updated in Ruby on Rails
  • Hery
    Hery commented at 11:41 PM

    yep ruby 1.9.x :) I Just wrote that on my first thread ;)

  • Hery
    Hery commented at 11:08 PM

    I have the same results

    Do you have a validation field ?

    I use database/tables in latin1 with mysql 5.1

    You must create a model with a validates_uniqueness_of a...

  • Hery
    Hery commented at 7:23 PM

    @serge

    My encoding environment variables are right : I only use UTF-8
    It's a problem with a database encoded in latin1 and logger (in ascii)

    I use UTF-8 in my a...

Tuesday, June 29 2010
5006 ActiveSupport::BufferedLogger and us-ascii message on ruby 1.9.x was updated in Ruby on Rails
  • Hery
    Hery commented at 10:29 PM

    I have the last HEAD of master and it does not work either.

    I ran into this issue since I have a database in latin1

    #config/database.yml
    
    development:
      encodi...
  • Hery
    Hery created the ticket at 4:53 PM

    Hi guys,
    I am running ruby-1.9@HEAD and rails@master

    To reproduce it :

      log = ActiveSupport::BufferedLogger.new('/tmp/toto.log')
      str = "héhé"
      str.force_en...
Monday, May 10 2010
4568 Reflection do not reset quoted_table name when set_table_name is invoked was created in Ruby on Rails
  • Hery
    Hery created the ticket at 1:49 PM

    Hi all,

    I just found this issue :

    class User < ActiveRecord::Base
    has_many :stats
    end
    class Stat < ActiveRecord::Base
      belongs_to :user
    end
    

    Somewhere in my c...

Wednesday, April 07 2010
4338 many-tomany creates foreign key attributes was created in Ruby on Rails
  • Hery
    Hery created the ticket at 5:08 PM

    Hello,

    Use rails 2.3.x

    I this a feature or a bug ?

     class Word
       has_and_belongs_to_many :sentences
     end
    
     class Sentence
       has_and_belongs_to_many :words
     e...
Tuesday, March 23 2010
261 Fixtures names can't start with 'test' was updated in Ruby on Rails
  • Hery
    • Tag changed from 2.0-stable, actionpack, activerecord, bug to 2.0-stable, actionpack, activerecord, activesupport, bug, testcase
    by Hery at 10:02 AM

    Hi, I found the fix for rails 3 and test-unit using minitest. It is minitest bug :

    In minitest/unit.rb

      def self.test_methods
        methods = public_instance_me...