- 19 12月, 2016 10 次提交
-
-
由 Eileen M. Uchitelle 提交于
Remove useless `test_supports_primary_key`
-
由 Akira Matsuda 提交于
there aren't any instance method defined in this class
-
由 Matthew Draper 提交于
Consolidate duplicated elsif branch
-
由 Ryuta Kamizono 提交于
-
由 Ryuta Kamizono 提交于
`supports_primary_key?` method is defined in `AbstractAdapter` so does not raise any errors.
-
由 Kasper Timm Hansen 提交于
Ensure the support works like form_with.
-
由 Kasper Timm Hansen 提交于
-
由 Kasper Timm Hansen 提交于
Has the handy effect of making the initial examples in the form_with docs work too. Had to do some finagling such that form_with's without a scope didn't wrap their names in braces ala `[title]`.
-
由 Kasper Timm Hansen 提交于
Remote is gone, long live local.
-
由 Kasper Timm Hansen 提交于
By using `except` any option provided to `form_with` would become an html attribute unless explicitly opted out. This proved annoying when adding new internal keys in the options hash and seeing them pop up in the html output. Prevent this by inverting the `except` to `slice` out the keys we want to allow becoming html attributes, like id and class.
-
- 18 12月, 2016 6 次提交
-
-
由 Xavier Noria 提交于
Fix rake guides:generate:kindle error
-
由 Bian Jiaping 提交于
-
由 Matthew Draper 提交于
Fix Fixnum deprecated warning in Ruby 2.4+
-
由 Eileen M. Uchitelle 提交于
Simplify the regex for `unsigned?` method
-
由 Eileen M. Uchitelle 提交于
Improve clarity of AJ tests output
-
由 Eike Send 提交于
* How to disable scaffolds.scss in generators.md * Improves workflow customization text in generators.md
-
- 17 12月, 2016 6 次提交
-
-
由 प्रथमेश Sonpatki 提交于
Add missing option on number helper
-
由 Pablo Ifran 提交于
The `delimiter_pattern` option was not present on the documentaion of the helper.
-
由 Rafael França 提交于
Change ActiveModel::Type::Helpers to :nodoc: [ci skip]
-
由 MSP-Greg 提交于
-
由 Rafael França 提交于
Docs Command Line Arguments for Generators
-
由 Kevin Hughes 提交于
-
- 16 12月, 2016 9 次提交
-
-
由 Rafael França 提交于
Throw friendly error message when fixture is not a hash
-
由 eileencodes 提交于
Coffee script 1.12.1 was released and contained a bug where coffee script was undefined. 1.12.1 was yanked and 1.12.2 was released. This bumps coffee-script-source so that CI Railties tests pass. See: https://github.com/jashkenas/coffeescript/issues/4403
-
由 Vijay Dev 提交于
-
由 Matthew Draper 提交于
Support double-yield inside an around callback
-
由 utilum 提交于
-
由 Kir Shatrov 提交于
Right now, when fixture is not a Hash we throw an error message saying "fixture is not a hash". This is not very user friendly because it's not saying which fixture is invalid.
-
由 Rafael França 提交于
fix QueryCache nil dup
-
由 Richard Monette 提交于
make sql statements frozen dup if arel is not our string expect runtime error dont wrap runtime error in invalid log errors will now be treated as runtime errors update changelog
-
由 Kasper Timm Hansen 提交于
Avoid invalid attribute on local forms generated by `form_with`
-
- 15 12月, 2016 5 次提交
-
-
由 Andreas Maierhofer 提交于
-
由 Matthew Draper 提交于
It's questionable whether this is a good thing -- it forces any later/ inner callback to handle multiple invocations, along with the actual wrapped action. But it worked prior to 871ca21f, so we shouldn't break it unintentionally.
-
由 George Claghorn 提交于
Fixes that the following ERB template would result in invalid HTML output: <%= form_with model: Post.new, local: true do |form| %> <% end %> Specifically, the resulting form tag would have a spurious `remote` attribute: <form remote="false" ...>
-
由 Jon Moss 提交于
Mention JS Runtime dependency in dev dependencies guide [ci skip].
-
由 Rafael França 提交于
Fix constantize edge case involving prepend, autoloading and name conflicts
-
- 14 12月, 2016 4 次提交
-
-
由 utilum 提交于
-
由 Eileen M. Uchitelle 提交于
Remove unused method `namespaced_file_path`
-
由 Jean Boussier 提交于
In the following situation: ```ruby class Bar end module Baz end class Foo prepend Baz end class Foo::Bar end ``` Running `Inflector.constantize('Foo::Bar')` would blow up with a NameError. What is happening is that `constatize` was written before the introduction of prepend, and wrongly assume that `klass.ancestors.first == klass`. So it uses `klass.ancestors.inject` without arguments, as a result a prepended module is used in place of the actual class.
-
由 Fumiaki MATSUSHIMA 提交于
``` $ git grep namespaced_file_path railties/lib/rails/generators/named_base.rb: def namespaced_file_path railties/lib/rails/generators/named_base.rb: @namespaced_file_path ||= namespaced_class_path.join("/") ```
-