1. 01 2月, 2012 7 次提交
  2. 31 1月, 2012 10 次提交
  3. 30 1月, 2012 3 次提交
  4. 29 1月, 2012 5 次提交
  5. 28 1月, 2012 3 次提交
  6. 27 1月, 2012 2 次提交
  7. 26 1月, 2012 8 次提交
  8. 25 1月, 2012 2 次提交
    • P
      Handle nil in add_index :length option in MySQL · 6cde635f
      Paul Sadauskas 提交于
      Our schema.rb is being generated with an `add_index` line similar to this:
      
          add_index "foo", ["foo", "bar"], :name => "xxx", :length => {"foo"=>8, "bar=>nil}
      
      This is the same as it was on Rails 3.1.3, however, now when that
      schema.rb is evaluated, its generating bad SQL in MySQL:
      
          Mysql::Error: You have an error in your SQL syntax; check the manual
          that corresponds to your MySQL server version for the right syntax
          to use near '))' at line 1: CREATE UNIQUE INDEX
          `xxx` ON `foo` (`foo`(8), `bar`())
      
      This commit adds a check for nil on the length attribute to prevent the
      empty parens from being output.
      6cde635f
    • A
      deprecated AR::TestCase in favor of AS::TestCase · 6fe02f9a
      Aaron Patterson 提交于
      6fe02f9a