1. 14 8月, 2016 1 次提交
  2. 13 8月, 2016 12 次提交
  3. 12 8月, 2016 11 次提交
  4. 11 8月, 2016 12 次提交
  5. 10 8月, 2016 4 次提交
    • S
      80f777e1
    • Y
      Merge pull request #26102 from gsamokovarov/schema-statements-typo · dfb24611
      Yves Senn 提交于
      Fix a NoMethodError schema_statements.rb
      dfb24611
    • A
      Remove unused method · 13cbe12a
      Andrew White 提交于
      In c546a2b0 parameter handling in AC test cases was changed to
      round tripping through encoders/decoders so that they matched
      reality and in 0adb8f8f the old methods were removed but the
      `html_format?` method was overlooked.
      13cbe12a
    • G
      Fix a NoMethodError schema_statements.rb · 01fbdb31
      Genadi Samokovarov 提交于
      If you call `remove_index` with wrong options, say a type, like I did,
      you get:
      
      ```
      == 20160810072541 RemoveUniqueIndexOnGoals: migrating =========================
      -- remove_index(:goal, {:coulmn=>:kid_id, :unique=>true})
      rails aborted!
      StandardError: An error has occurred, this and all later migrations canceled:
      
      undefined method `ArgumentError' for #<ActiveRecord::ConnectionAdapters::PostgreSQLAdapter:0x007fb7dec91b28>
      ```
      
      What happened is that I mistyped column (coulmn) and got a
      `NoMethodError`, because of a missing comma during the raise. This made
      Ruby think we're calling the method `ArgumentError`.
      01fbdb31