Kane
Not a member
Kane's latest activity
Saturday, August 14 2010
-
Kane commented at 11:20 PMchanging find_by_id to a some kind of find_by_primary_key seems awfull to me. I really dont like this change.
the find_by_something is clearly for db attributes...
-
Kane commented at 7:36 PMCurrently habtm doesn't take into account the namespaces for computing the join table like the other associations.
Samuel, i told you before, namespaces doent...
Friday, August 13 2010
-
Kane commented at 5:23 PMIm not quite sure that this worked in any previous versions.
normally AR assumes STI if you inherit from another model.
if you dont want that you could declare ...
Wednesday, August 11 2010
-
Kane commented at 10:32 PMyea i know as i said the problem can be avoided by altering the order.
but the issue here is that this is not so obvious for the user and whether the actual beh... -
Kane commented at 5:06 PMi encountered this too in 3.0.0.rc
to workaround this issue i didnt use the dependent option and instead created an before_destroy callback which destroys all a...
-
Kane commented at 5:00 PMi cant confirm this.
could you provide more details? maybe the code of your model?
Monday, August 02 2010
-
Kane commented at 6:24 PMSELECT * FROM articles WHERE id IN (SELECT article_id FROM comments WHERE text LIKE '%test%');
Sunday, August 01 2010
-
Kane commented at 2:26 PMIf you want a tempory fix till this issue is addressed in the rails core you could make a superclass for this models in which you connect to the database.
clas...
-
Kane commented at 2:21 PMi found similar issues as i wrote some workers with the nanite gem and activerecord
and found myself hacking PostgreSQLAdapter AbstractAdapter and ConnectionPoo...
Sunday, June 27 2010
-
Kane commented at 1:46 AMyou dont namespace, what you described are nested classes. If you would use namespacing the namespace wouldnt go into the table name and everything would be oke...