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.

activerecord’s Activity (RSS)

Tuesday, January 31 2012
19 do you have plans about implementing 'includes' feature? was created in ActiveRecord
  • yas375
    yas375 created the ticket at 12:36 PM

    In activerecord in ruby there are one more cool feature - includes. It's allows us simply resolve problem with N+1 queries. Better to read about it here: http:...

18 cache db record fully instead of caching separate column values was created in ActiveRecord
  • yas375
    yas375 created the ticket at 11:51 AM

    I uncomment logger line 'ARDebugLog("Executing SQL: % subs: %@", sql, substitutions);' in 'executeSQL: substitutions:' method in ARSQLiteConnection.m file.
    And ...

Thursday, January 05 2012
17 .gitignore does not handle Xcode noise properly. was created in ActiveRecord
  • Guy Kogus
    Guy Kogus created the ticket at 2:38 PM

    Can you please add *xcuserdata* to the .gitignore. The current attempts to remove Xcode noise do not work.

Wednesday, October 12 2011
16 NSCFString Memory Leak caused by HasMany Relationship was created in ActiveRecord
  • Udit Sajjanhar
    Udit Sajjanhar created the ticket at 11:01 AM

    Model Bundle

    bundle.h

    @interface Bundle : ARBase
        
    @property(readwrite, assign) NSString *name, *ordering, *id;
    
    @end
    
    @interface Bundle (Accessors)
        -(N...
Thursday, February 11 2010
6 Active Record throws NSInvalidArgumentException on Device was updated in ActiveRecord
  • Fjölnir Ásgeirsson
    • State changed from resolved to open
    by Fjölnir Ásgeirsson at 10:00 AM

    well that's what NSObject (iPhoneHacks) does (Source/Utilities/iPhone Hacks/) try changing #if (TARGET_OS_IPHONE && !TARGET_IPHONE_SIMULATOR) to #if (TARGET_OS_...

  • Andy Blackwell
    Andy Blackwell commented at 7:02 AM

    possibly just refactor to replace all

    [self className]

    with

    NSStringFromClass([self class])

    instead of the hacks

  • Andy Blackwell
    Andy Blackwell commented at 6:36 AM

    This may need revisiting. The only way I got activerecord to not crash in the simulator was by deleting the if statements that prevented these hacks from being ...

Friday, December 11 2009
15 Perfoming Count on AR Collection Returns "EXC_BAD_ACCESS" was updated in ActiveRecord
  • Fjölnir Ásgeirsson
    • State changed from new to invalid
    by Fjölnir Ásgeirsson at 10:55 AM

    You'll need to provide more details on your implementation of 'Model' and a backtrace.
    The method +findAll is tested in the unit tests, and at the time of last ...

Monday, December 07 2009
15 Perfoming Count on AR Collection Returns "EXC_BAD_ACCESS" was created in ActiveRecord
  • Chris Lowder
    Chris Lowder created the ticket at 1:20 PM

    [[Model findAll] count]

    Will return "EXC_BAD_ACCESS" (NB: adding a retain [[[Model findAll] retain] count] does not seem to solve the problem).

Wednesday, December 02 2009
14 Column names not being quoted properly! was created in ActiveRecord
  • Chris Lowder
    Chris Lowder created the ticket at 10:00 AM

    Column names are not being quoted with like they should be.

    So in a situation where you have a column (integer) named limit AR generates something like:

    "SELECT...

Monday, August 17 2009
13 associations.rb select_limited_ids_list returns NULL becouse of PK instead of... was updated in ActiveRecord
  • clyfe
    clyfe commented at 12:30 PM

    this is for active-record-2.3.2

  • clyfe
    clyfe created the ticket at 12:26 PM

    CHANGE THIS in associations.rb

    def select_limited_ids_list(options, join_dependency)

          pk = columns_hash[primary_key]
    
          connection.select_all(
           ...
Thursday, August 13 2009
12 Help :( was updated in ActiveRecord
  • miracle_bg
    • Assigned user set to Fjölnir Ásgeirsson
    by miracle_bg at 8:07 PM

    Thanks a bunch!

    I figured things out now.

    I saw something strange though.

    I enabled logging in the low level where the queries get executed and this:

    NSArray *x...

  • Fjölnir Ásgeirsson
    Fjölnir Ásgeirsson commented at 5:32 PM

    Heh, I forgot to put the relationship examples in the example did I? =)
    well if you read the unit tests (they're in the repository), there's lot's of examples t...

  • miracle_bg
    miracle_bg commented at 5:23 PM

    Thanks for the quick response! :) I thought the project might be abandoned at first ... coolness it's not :)

    We are two cocoa developers - creating a portable a...

  • Fjölnir Ásgeirsson
    • Assigned user cleared.
    • State changed from new to invalid
    by Fjölnir Ásgeirsson at 5:13 PM

    Ok, "porting the lib to"? do you mean "use the framework in"?
    is this an iPhone project or a Mac app?
    if it's a mac app you just need to compile the framework a...

  • miracle_bg
    miracle_bg created the ticket at 5:01 PM

    ActiveRecord is an insanely easy to use database ....

    Stop at 'insanely easy' ..

    Dear devs...

    i've been trying to port the lib to one of my objc projects.... so...

Wednesday, July 29 2009
11 full_messages format customization was updated in ActiveRecord
Sunday, March 15 2009
11 full_messages format customization was created in ActiveRecord
  • Maxim Kulkin
    Maxim Kulkin created the ticket at 4:55 PM

    Rails allows customizing error messages for particular attribute of particular model, but #full_messages return error strings in form "{{human_attribute_name}} ...

Friday, February 13 2009
10 Retain cycle causes ARBase and ARRelationship leaks was created in ActiveRecord
  • Robin Summerhill
    Robin Summerhill created the ticket at 8:39 AM

    ARBase retains its relationships but each relationship also retains its parent 'record' creating a retain cycle.

    Change the record property of ARRelationship to...

Monday, February 09 2009
9 "error: Cocoa/Cocoa.h: No such file or directory" was updated in ActiveRecord
  • matthias.luebken (at gmail)
    matthias.luebken (at gmail) commented at 9:42 PM

    I can confirm this error. I've checked out the source with a "git clone". And in the created header files I'll get the error in ARBaseArrayInterface.h Line 36 w...

Wednesday, December 17 2008
9 "error: Cocoa/Cocoa.h: No such file or directory" was created in ActiveRecord
Thursday, October 02 2008
8 Support inserting obj-c types was updated in ActiveRecord
  • Fjölnir Ásgeirsson
    • State changed from new to open
    by Fjölnir Ásgeirsson at 11:26 PM
  • Fjölnir Ásgeirsson
    Fjölnir Ásgeirsson created the ticket at 11:26 PM

    Create some sort of api for inserting obj-c classes into the database (Possibly by supporting NSCoder)

Friday, September 26 2008
7 Different create syntax was updated in ActiveRecord
  • Fjölnir Ásgeirsson
    • State changed from new to open
    by Fjölnir Ásgeirsson at 2:21 PM
  • Fjölnir Ásgeirsson
    Fjölnir Ásgeirsson created the ticket at 2:21 PM

    Add an initializer to ARBase to allow initialization without attributes.

    example:
    Model *record = [Model create];
    record.attribute = @"something";

Saturday, September 20 2008
6 Active Record throws NSInvalidArgumentException on Device was updated in ActiveRecord
  • Fjölnir Ásgeirsson
    Fjölnir Ásgeirsson commented at 5:35 PM

    Actually, I committed my changes about 3 minutes before posting my reply :) Just download the source again and you'll get the changes

    If you're using an old ver...

  • Leicester
    Leicester commented at 5:25 PM

    There is no new version on github...

Friday, September 19 2008
6 Active Record throws NSInvalidArgumentException on Device was updated in ActiveRecord
  • Fjölnir Ásgeirsson
    Fjölnir Ásgeirsson commented at 10:38 AM

    Turns out, I made a stupid error in my iphone workaround and you were completely right! I've fixed it and now it should work fine ;)

  • Fjölnir Ásgeirsson
    • Assigned user set to Fjölnir Ásgeirsson
    • State changed from new to resolved
    • Tag set to iphone
    by Fjölnir Ásgeirsson at 1:37 AM

    Hi, this is because the iPhone, doesn't implement -className. I've written a workaround for this and it's in the repository :) Downloading the latest version of...

Thursday, September 18 2008
6 Active Record throws NSInvalidArgumentException on Device was created in ActiveRecord
  • Leicester
    Leicester created the ticket at 4:47 PM

    Hi, today I set up a new project to give active record a try. I think it rocks. But only on the simulator :-(

    When I deploy my project on a iPod it terminates w...

Monday, August 18 2008
2 Bindings support was updated in ActiveRecord
3 Implement caching for retrievals with filters was updated in ActiveRecord
4 Join support was updated in ActiveRecord
Sunday, August 17 2008
1 Add PostgreSQL support was updated in ActiveRecord
5 ARMySQLConnection ignores 'port' key was updated in ActiveRecord
  • Fjölnir Ásgeirsson
    • State changed from new to invalid
    by Fjölnir Ásgeirsson at 11:59 PM
  • jabo
    jabo commented at 7:47 PM

    You are correct, I did some further testing and found that mysql_real_connect will not use the port setting value if your host key equals 'localhost' it will us...

  • fjolnir (at gmail)
    • Tag changed from connection, database, ignored, key, port to connection ignored, database, key, port
    by fjolnir (at gmail) at 6:39 PM

    Hm, I took a look at the code and I don't see why this would happen, Here's the line that creates the mysql connection, are you sure you're using 'port' as the ...

Friday, August 15 2008
5 ARMySQLConnection ignores 'port' key was updated in ActiveRecord
  • fjolnir (at gmail)
    • Tag changed from connection, ignored, key, port to connection, database, ignored, key, port
    by fjolnir (at gmail) at 10:32 AM

    Thanks a lot for reporting, I'll fix this asap

  • jabo
    jabo created the ticket at 1:39 AM

    when creating a connection, the 'port' key value is not utilized even though it is required.

    to confirm, just modify the port variable to use anything other th...

Wednesday, July 30 2008
Home was edited by Fjölnir Ásgeirsson in ActiveRecord at 12:59 PM (+2 more edits)
4 Join support was created in ActiveRecord
3 Implement caching for retrievals with filters was created in ActiveRecord
  • Fjölnir Ásgeirsson
    Fjölnir Ásgeirsson created the ticket at 12:56 PM

    Decide if we should we implement caching for record retrievals that use a filter.

    If we do, do it.

2 Bindings support was created in ActiveRecord
  • Fjölnir Ásgeirsson
    Fjölnir Ásgeirsson created the ticket at 12:55 PM

    Probably write an NSArrayController like class for ARBase records.

1 Add PostgreSQL support was updated in ActiveRecord
Official release was created by Fjölnir Ásgeirsson in ActiveRecord at 12:54 PM
 
5 of 5 tickets remain in this milestone