- 11 1月, 2016 1 次提交
-
-
由 Jaime Iniesta 提交于
The pluralize text helper uses the Inflector to determine the plural form. The inflector accepts an optional parameter for the locale, so we can pass it from the text helper to have locale-aware pluralizations on the text helpers level. The pluralize text helper now only accepts 2 positional arguments: `count` and `singular`. Passing `plural` as a positional argument is now deprecated.
-
- 22 10月, 2015 2 次提交
-
-
由 Sean Griffin 提交于
remove unnecessary forwardable require
-
由 Timo Schilling 提交于
`Forwardable` has been used in the past
-
- 21 10月, 2015 37 次提交
-
-
由 Andrew White 提交于
Extract native getter to attr_reader.
-
由 Andrew White 提交于
Fix warnings in multiple application tests
-
由 jbranchaud 提交于
The getter is doing nothing more than returning the ivar, so it can be extracted to an attr_reader.
-
由 Andrew White 提交于
This is primarily to fix method redefinition warnings in class_attribute but may be of use in other places where we define singleton methods.
-
由 Yves Senn 提交于
[ci skip] It's been a source of confusion that the lower-level `add_column` referenced the higher level `column` method for available options. `column` supports additional functionality like `index: true` that is not present on `add_column`. This patch moves common option documentation to `add_column` and only documents the additional options in `column`.
-
由 Yves Senn 提交于
typo
-
由 Scott Nelson 提交于
-
由 Sean Griffin 提交于
Ok, this explains why the branch showed as green. We don't run files in isolation for PRs, only for master. Active Support monkeypatches `BigDecimal#to_s`, so the generated error message was different depending on if the file was run in isolation
-
由 Sean Griffin 提交于
The error message when asserting `greater_than: BigDecimal.new` will give an error message based on how BigDecimal displays itself. Big decimal appears to always use scientific notation. This might not be the best error message for the general case, but the general case wouldn't use big decimal for the validation. And if they do, they likely need this level of precision.
-
由 Sean Griffin 提交于
Revert " Added an example to show how common secrets can be shared ac…
-
由 Sean Griffin 提交于
Revert " Added an example to show how common secrets can be shared across multiple environments in secrets.yml"
-
由 Sean Griffin 提交于
Use the post-type-cast version of the attribute to validate numericality
-
由 Sean Griffin 提交于
FileStore: Long cache keys may result in too long paths due to encoding
-
由 Sean Griffin 提交于
Added an example to show how common secrets can be shared across multiple environments in secrets.yml [ci skip]
-
由 Sean Griffin 提交于
Fix for activerecord join dependency instantiate bug
-
由 Sean Griffin 提交于
This is a separate commit, as it is not just a changelog conflict. Want to point out the changes in the code
-
由 Sean Griffin 提交于
Handle invalid UTF-8 strings when HTML escaping
-
由 Sean Griffin 提交于
We use one period after spaces, not two.
-
由 Sean Griffin 提交于
Collection input propagates input's id to the label's for attribute.
-
由 Vasiliy Ermolovich 提交于
-
由 Sean Griffin 提交于
Use Module.prepend instead of alias_method and unify behavior of all Numeric extensions
-
由 Sean Griffin 提交于
Allow select using Arel and perform a count
-
由 Sean Griffin 提交于
Set active_record config for always creating uuids in generators
-
由 Sean Griffin 提交于
parse RSS/ATOM responses as XML, not HTML
-
由 Sean Griffin 提交于
Fixed multibyte-chars slice! behavior to return nil for out-of-bound parameters
-
由 Sean Griffin 提交于
Given that this pull request affects a mutable value, we need to test for and document the affects on the receiver in this case. Additionally, this pull request was missing a CHANGELOG entry.
-
由 Gourav Tiwari 提交于
-
由 Sean Griffin 提交于
[Rails Guides] clarify `belongs_to_required_by_default` option [ci skip]
-
由 Sean Griffin 提交于
-
由 Vladimir Rybas 提交于
Original: * `config.active_record.belongs_to_required_by_default` is a boolean value and controls whether `belongs_to` association is required by default. Modified version: * `config.active_record.belongs_to_required_by_default` is a boolean value and controls whether validation error is triggered by default if `belongs_to` association is not present or not valid.
-
由 Sean Griffin 提交于
activerecord guide: clarified roles of valid method and errors object [ci skip]
-
由 Sean Griffin 提交于
Round some numbers more humanely
-
由 Sean Griffin 提交于
-
由 Sean Griffin 提交于
Add missed available transformations to Migration Doc [ci skip]
-
由 Sean Griffin 提交于
Fix find_by with association subquery issue
-
由 Jon McCartie 提交于
-
由 Sean Griffin 提交于
ActiveSupport: Fixing issue when delegating to methods named "block", "args", or "arg"
-