- 01 7月, 2014 10 次提交
-
-
由 Rafael Mendonça França 提交于
Closes #15214
-
由 Rafael Mendonça França 提交于
Since we are using both branches of the code is preferable to use if/else over the early return.
-
由 Rafael Mendonça França 提交于
Added String support for min and max properties for date field helpers
-
由 Todd Bealmear 提交于
-
由 Rafael Mendonça França 提交于
To avoid overload with database rollback
-
由 Rafael Mendonça França 提交于
-
由 Rafael Mendonça França 提交于
Added rollback method to ActiveModel::Dirty
-
由 Rafael Mendonça França 提交于
Don't add a second method for attribute existence
-
由 Sean Griffin 提交于
We already had one in the public API that people can use more easily for the transition
-
由 Rafael Mendonça França 提交于
Fix 10.3 invite_email.body assert_match documentation example.
-
- 30 6月, 2014 22 次提交
-
-
由 Nick Pellant 提交于
Currently there is no implicit conversion for Mail::Body to string therefore .to_s must be applied. This is exampled in 10.2.2.
-
由 Sean Griffin 提交于
-
由 Sean Griffin 提交于
Update documentation on STI change handling
-
由 jamesprior 提交于
Documenting a potential source of confusion about how STI classes handle changes.
-
由 Rafael Mendonça França 提交于
Simplify creation of default attributes on AR instance
-
由 Godfrey Chan 提交于
Remove array workaround in PG quoting
-
由 Godfrey Chan 提交于
Remove unused `array_member` from PG quoting for HStore columns
-
由 Sean Griffin 提交于
Hstore no longer needs additional quoting to be used in an array, the array type handles it sufficiently.
-
由 Sean Griffin 提交于
We no longer need to do fancy legwork to make sure arrays use a type object, now that schema methods use a real type object.
-
由 Godfrey Chan 提交于
Use the type object when sending point columns to the DB
-
由 Godfrey Chan 提交于
Don't encourage usage of `columns_hash`
-
由 Sean Griffin 提交于
-
由 Godfrey Chan 提交于
Use `Hash#transform_values` to clean up `AttributeSet`
-
由 Sean Griffin 提交于
-
由 Godfrey Chan 提交于
Use the type object for sending JSON to the database
-
由 Sean Griffin 提交于
`AttributeSet#dup` has all the behavior we need.
-
由 Guillermo Iguaran 提交于
Add `Hash#map_values` to ActiveSupport to simplify a common pattern
-
由 Sean Griffin 提交于
Didn't get a chance to convert existing code, I'll skim through the code base to make use of this later this afternoon.
-
由 Sean Griffin 提交于
-
由 Sean Griffin 提交于
As discussed in https://github.com/plataformatec/simple_form/pull/1094, we should not encourage usage of `columns_hash`, and instead provide an alternate method to determine whether or not an attribute exists. The language `attribute` was chosen over `column` since these are in the `AttributeMethods` module.
-
由 Robin Dupret 提交于
-
由 Robin Dupret 提交于
[ci skip]
-
- 29 6月, 2014 8 次提交
-
-
由 Rafael Mendonça França 提交于
Rename options param of #time_ago_in_words to match API change
-
由 Rafael Mendonça França 提交于
Always pass a column with a cast_type to quote
-
由 Sean Griffin 提交于
Add punctuation and fix capitalization in Getting Started guide
-
由 Sean Griffin 提交于
[ci skip] Fix router option reference in 4.2 release notes.
-
由 Juanito Fatas 提交于
-
由 Rory O’Kane 提交于
Fix more small grammar mistakes in the [Getting Started guide](http://edgeguides.rubyonrails.org/getting_started.html#security), in sections 9 and 10. Specifically, within sections 9.1 “Basic Authentication”, 9.2 “Other Security Considerations”, and 10 “What's Next?”. “Rails Guides” is generally capitalized on the site, including on the linked page and in the title of the site, so I capitalized it. “The” is not part of the name of the Ruby on Rails Security Guide – “The” is not in the title on that page. And I added a missing period and a missing colon at the ends of two sentences.
-
由 Sean Griffin 提交于
The only case where we got a column that was not `nil`, but did not respond to `cast_type` was when type casting the default value during schema creation. We can look up the cast type, and add that object to the column definition. Will allow us to consistently rely on the type objects for type casting in all directions.
-
由 Max Kramer 提交于
Rename `include_seconds_or_options` to `options` to match 6b9356a4 (which removed the deprecation introduced by #6077). This has no functional impact because the parameter is passed directly through, but makes it clearer that the parameter no longer supports a boolean as input.
-