pupeno@pupeno.com
Not a member
pupeno@pupeno.com's latest activity
Friday, October 08 2010
-
pupeno@pupeno.com commented at 6:09 AMThis is the relevant context:
class User < ActiveRecord::Base has_and_belongs_to_many :clocks has_many :runs, :through => :clocks has_many :user_runs #... -
pupeno@pupeno.com created the ticket at 6:05 AMI'll give you more context information bellow, but first, let me show you some active records call.
First a simple "let's get a clock":
@user.clocks.find(@...
Tuesday, June 29 2010
-
pupeno@pupeno.com commented at 3:57 PMMatt,
Yes, I can do that. Wouldn't that remove authorship from Paul Barry, and if so, is it acceptable for me to do it?
Wednesday, June 16 2010
Tuesday, June 15 2010
-
pupeno@pupeno.com commented at 10:39 PMNew patch that applies cleanly (I actually couldn't find the conflict) and puts the add_index inside the no exceptions zone.
Monday, June 14 2010
-
pupeno@pupeno.com commented at 1:48 PMÉtienne, oh, got it regarding assert_nothing_raised. I'll fix it.
But the issue was the name of the table, not the name of the index. What wasn't being escaped ...
-
- Tag changed from database, index, mysql, patch, remove_index to database, index, migration, mysql, patch, remove_index
Étienne,
Paul Barry added the assert_nothing_raised block. I'll look into the conflict.
Regarding MigrationTest, I should add the test here: activerecord/test/c...
Saturday, June 12 2010
-
-
pupeno@pupeno.com commented at 2:38 AMOh, and it's also in this branch: http://github.com/pupeno/rails/tree/remove_index_from_values It's this commit: http://github.com/pupeno/rails/commit/13f98698...
-
- Tag changed from database, index, mysql, remove_index to database, index, mysql, patch, remove_index
- Title changed from Table name not escaped on dropping index to [PATCH] Table name not escaped on dropping index
I'm attaching the patch that fixes this issue. It contains a test that shows the issue. I'm quite sure the way I wrote the test is not good, I've created anothe...