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.

Activity (RSS)

Monday, February 09 2009
14 Join Table Conditions Broken was updated
  • Zach Dennis
    Zach Dennis commented at 8:03 PM

    This is fixed in commit a74cc8aa70172507730484edf26ed0bcc2ae1055 . I'll push out a gem soon.

13 Imports with default primary key breaking was updated
  • Zach Dennis
    Zach Dennis commented at 7:37 PM

    wladjmir - Can you post the entire SQL generated, as well as the code you are using to execute import?

    Mike - if you figure something out I'd gladly accept the ...

  • Mike Woodhouse
    Mike Woodhouse commented at 7:40 AM

    I have something similar with Oracle, where it attempts to insert NULL into my id column.

    In import.rb/import_without_validations_or_callbacks we get nice net-i...

Sunday, February 08 2009
14 Join Table Conditions Broken was updated
  • Avi Flombaum
    • Assigned user set to Zach Dennis
    by Avi Flombaum at 4:58 PM
13 Imports with default primary key breaking was updated
  • wladjmir
    wladjmir commented at 12:23 PM

    same problem, with jruby , jdbc-sqlite3 i get

    WARNING: Can't mass-assign these protected attributes ActiveRecord::StatementInvalid - ActiveRecord::ActiveRecordE...

Monday, February 02 2009
14 Join Table Conditions Broken was created
  • Avi Flombaum
    Avi Flombaum created the ticket at 9:11 PM

    So Join Table Conditions don't work when using ar-extensions 0.8.0 and Rails 2.2.2

    
    class Article < ActiveRecord::Base
      belongs_to :user
    end
    
    class User ...
Thursday, November 27 2008
13 Imports with default primary key breaking was created
  • jdurden
    jdurden created the ticket at 2:59 PM

    Unless I explicitly set the primary key to be a value other than id, I have not been able to get this to work. I have below 2 examples below, one without primar...

Wednesday, November 26 2008
12 Error caused by modifying arguments was created
  • Mark Van Holstyn
    Mark Van Holstyn created the ticket at 8:39 PM

    When passing the same array of column names into import for the list of column names, and for the list of on_duplicate_key_update option, the list is modified i...

5 Postgres problem with import was updated
  • Zach Dennis
    Zach Dennis commented at 8:16 PM

    I haven't touched postgres in a very long time. The import functionality for postgresql was never optimized (it was very fast anyways). If this is something you...

Tuesday, November 18 2008
11 Trouble with require statements and MySQL Adapter was created
  • Karsten
    Karsten created the ticket at 1:42 PM

    Using v.0.8.0 in a standalone ruby (not rails) context:

    
    require 'ar-extensions/adapters/mysql'
    require 'ar-extensions/import/mysql'
    

    produces the following e...

Monday, November 17 2008
5 Postgres problem with import was updated
Thursday, September 25 2008
10 Problems with Rails Edge 2.2 was created
  • Thibaud Guillaume-Gentil
    Thibaud Guillaume-Gentil created the ticket at 3:20 AM

    ar-extensions 0.8 + rails 2.2 (edge) give: /Library/Ruby/Site/1.8/rubygems.rb:142:in activate’:Gem::Exception: can’t activate activerecord (>= 1.14.1, runtime),...

1 Disable automatic timestamping of columns was updated
Saturday, September 20 2008
9 Temporary tables broken on sqlite was created
  • Ari Epstein
    Ari Epstein created the ticket at 9:35 AM

    Although SQLite support temporary tables, it does not support the "LIKE" syntax. The solution, I think, would be to generate a create table sql from the schema.

Saturday, August 23 2008
8 Associations not used was created
  • jschank
    jschank created the ticket at 2:19 AM

    Hello, If I have an association, such as belongs_to, and I attempt to do an import like so: @parent.things.import fields, data the imported objects do not have ...

Wednesday, August 20 2008
7 NoMethodError (undefined method `expand_hash_conditions_for_aggregates' for #... was updated
  • jufemaiz
    jufemaiz commented at 9:47 AM

    Cheers muchly. Will do.

  • Zach Dennis
    Zach Dennis commented at 9:23 AM

    ar-extensions 0.8.0 is only for Rails 2.1. There wasn't a version tagged to work with Rails 2.0.1 or 2.0.2. I'd recommend upgrading to 2.1 stable if possible.

  • jufemaiz
    jufemaiz created the ticket at 2:36 AM

    Using rails 2.0.2 and ar-extensions 0.8 I'm getting the following error.

    @@@NoMethodError (undefined method expand_hash_conditions_for_aggregates' for #<Class:...

Friday, August 15 2008
6 import performance improvement was created
  • Paolo Dona
    Paolo Dona created the ticket at 6:58 AM

    Hi, I'm importing about a million records and I've noticed it takes a long time just to build up the SQL insert statement.

    I'm in a somewhat special scenario w...

Tuesday, August 12 2008
5 Postgres problem with import was created
  • Jake Morrison
    Jake Morrison created the ticket at 7:27 AM

    Import is not working with an array of ActiveRecord instances (all I have tried so far).

    The sequence generation is using the default base class code (sequence...

4 csv generation problems was created
  • Jake Morrison
    Jake Morrison created the ticket at 7:20 AM

    The csv generation module is not getting loaded by default.

    I loaded it manually by adding the following to environment.rb:

    require 'ar-extensions/csv' Active...

Thursday, August 07 2008
3 Null in composite key was created
  • tinney
    tinney created the ticket at 8:24 AM

    When using the onduplicatekey_update option in AR-extentions composite keys that can contain NULL values will not work.

    For example say you were to import a li...

Wednesday, August 06 2008
2 Rails 2.1.0 compatability bug was updated
  • Zach Dennis
    • State changed from new to resolved
    by Zach Dennis at 7:41 PM
  • Zach Dennis
    Zach Dennis created the ticket at 7:03 PM

    ar-extensions is breaking the following test Rails 2.1.0:

    • HasManyAssociationsTest#testfindwithblankconditions

    testfindwithblankconditions(HasManyAssociatio...

Tuesday, August 05 2008
1 Disable automatic timestamping of columns was created
  • Andy Atkinson
    Andy Atkinson created the ticket at 12:27 AM

    As of ar-extensions 0.7, created_at and updated_at timestamp columns are automatically set to the current time.

    This feature was mentioned in this posting:

    h...

Thursday, July 17 2008
Home was created by Zach Dennis in ar-extensions at 8:37 PM