1. 20 8月, 2016 1 次提交
    • J
      Consistent examples and template for assets#precompile · b4c92be4
      Jon Atack 提交于
      Listening to a few developers today discussing their troubles in understanding how to use the asset pipeline, it turns out that the precompile examples in the guides and assets.rb template have over time become a bit inconsistent.
      
      This PR makes the examples consistent in code style, spacing, and asset names, removes the old 'swfObject.js' example, and in a couple of places wraps lines at 80 characters including in the assets.rb template.
      
      Re-add spaces inside array parentheses.
      b4c92be4
  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