- 07 1月, 2013 21 次提交
-
-
由 Rafael Mendonça França 提交于
All the valids parameters for libpq are used. See http://www.postgresql.org/docs/9.1/static/libpq-connect.html for the full list Fixes #8784
-
由 Rafael Mendonça França 提交于
-
由 Rafael Mendonça França 提交于
-
由 Rafael Mendonça França 提交于
masgn and response variable
-
由 Rafael Mendonça França 提交于
Refactor DebugExceptions
-
由 Gosha Arinich 提交于
-
由 tank-bohr 提交于
-
由 Akira Matsuda 提交于
-
由 Akira Matsuda 提交于
-
由 Akira Matsuda 提交于
-
由 Akira Matsuda 提交于
-
由 Rafael Mendonça França 提交于
Refactor Journey::Routes
-
由 Gosha Arinich 提交于
* prefer do-end for multiline blocks * prefer or-equals over returns with checks
-
由 Rafael Mendonça França 提交于
doesn't work with rubinius
-
由 tank-bohr 提交于
Rubinius returns a boolean after such assingment response = (_, headers, body = @app.call(env)) see https://github.com/rubinius/rubinius/issues/2117 get rid of a local variable
-
由 Rafael Mendonça França 提交于
Fix error raised when assigning NaN to an integer column
-
由 Tristan Harward 提交于
Also covers any non-castable case by returning nil, which is in-line with the intention of the former implementation, but covers the odd cases which respond to to_i but raise an error when it's called, such as NaN, Infinity and -Infinity. Fixes #8757
-
由 Akira Matsuda 提交于
-
由 Akira Matsuda 提交于
* dependencies/autoload * concern * deprecation
-
由 Yehuda Katz 提交于
refactor the naming within plugin new generator
-
由 Xavier Noria 提交于
Fix img width in guides
-
- 06 1月, 2013 19 次提交
-
-
由 Carlos Antonio da Silva 提交于
Require 'active_support/core_ext/module/aliasing' in the infinite_comparable module When requiring 'active_support/core_ext', the following error is raised: undefined method `alias_method_chain' for Date:Class (NoMethodError) Adding the missing require to this module fixes the problem.
-
由 Diogo Mafra 提交于
-
由 Akira Matsuda 提交于
-
由 Akira Matsuda 提交于
-
由 Akira Matsuda 提交于
* core_ext/object/blank * concern * core_ext/class/attribute * deprecation
-
由 Carlos Antonio da Silva 提交于
Avoid swallowing all exceptions that might happen when requiring debugger, just catch a LoadError if it cannot be loaded. Check for more background: https://github.com/rails/rails/commit/28fd867c9bc790636d37a28f288791cd0089a6fd#commitcomment-2386952
-
由 Carlos Antonio da Silva 提交于
It is used by the table formatter only, and it's already inside a routes directory that namespaces it properly, so calling it just "table" seems simpler.
-
由 Carlos Antonio da Silva 提交于
It feels more consistent to have this class called "HtmlTableFormatter", and to have it here with the routes inspector and console formatter, since it's used for both routing error exceptions and the rails info page.
-
由 Andrew White 提交于
Delegate to :class rather than 'self.class'
-
由 Carlos Antonio da Silva 提交于
By checking for object.persisted? first, we avoid the hash lookups for new objects.
-
由 Carlos Antonio da Silva 提交于
When dealing with nested forms, Rails automatically generates a hidden field with the id value of the current object being generated by fields_for. This logic was inside the method that's available from the template object, but we just need it when really dealing with nested attributes, so moving the code to here makes more sense.
-
由 Carlos Antonio da Silva 提交于
Just use it internally from fields_for until we come up with a better solution.
-
由 Carlos Antonio da Silva 提交于
-
由 Carlos Antonio da Silva 提交于
-
由 Carlos Antonio da Silva 提交于
Refactor Route#ast to use or-equals and block, instead of return with a check
-
由 Gosha Arinich 提交于
-
由 Carlos Antonio da Silva 提交于
-
由 David Heinemeier Hansson 提交于
This is not that common of a change to warrant top-line billing and you should read more about the consequences than just toggling a boolean to make best use of it
-
由 David Heinemeier Hansson 提交于
Include the standard reminder that you need to restart for changes in config/initializers to take effect
-