- 19 6月, 2014 2 次提交
-
-
由 Rafael Mendonça França 提交于
remove unused method from Postgresql::Adapter
-
由 Josh Sharpe 提交于
-
- 18 6月, 2014 32 次提交
-
-
由 Rafael Mendonça França 提交于
Titling the model name in views generated by scaffold.
-
由 Yves Senn 提交于
Extract out with_env_tz helper method.
-
由 Zuhao Wan 提交于
It’s used at so many places that extracting it out into a helper file is worth doing.
-
由 Yves Senn 提交于
Move cleanup into teardown, delete obsolete code.
-
由 Amit Suryavanshi 提交于
eg. rails g scaffold UserProfile will have in index.html.erb "Listing User Profiles" rather than Listing user_profiles.
-
由 Matthew Draper 提交于
-
由 Matthew Draper 提交于
Don't type cast the default on the column
-
由 Rafael Mendonça França 提交于
Detect in-place changes on point types
-
由 Sean Griffin 提交于
-
由 Rafael Mendonça França 提交于
It was being used by Rails for show the development logs but since Rails 4 it is not being used anymore on the framework. This class seems to be private but it were part of the public API we are deprecating before removing.
-
由 Rafael Mendonça França 提交于
Enable hstore in array tests
-
由 Sean Griffin 提交于
-
由 Rafael Mendonça França 提交于
Detect mutations of arrays and array members
-
由 Sean Griffin 提交于
-
由 Rafael Mendonça França 提交于
-
由 Rafael Mendonça França 提交于
-
由 Rafael Mendonça França 提交于
Also remove --skip-turbolinks. This option is useful if users want to remove some gems like jbuilder, turbolinks, coffee-rails, etc that don't have specific options on the generator. rails new my_app --skip-gems turbolinks coffee-rails
-
由 Rafael Mendonça França 提交于
Ensure `OID::Array#type_cast_for_database` matches PG's quoting behavior
-
由 Sean Griffin 提交于
Also takes a step towards supporting types which use a character other than ',' for the delimiter (`box` is the only built in type for which this is the case)
-
由 Matthew Draper 提交于
Move pg array database type casting to the Array type
-
由 Rafael Mendonça França 提交于
Add an option to skip installation of Turbolinks
-
由 Matthew Draper 提交于
Add test cases for Migration#inverse_of
-
由 Sean Griffin 提交于
If we want to have type decorators mess with the attribute, but not the column, we need to stop type casting on the column. Where possible, we changed the tests to test the value of `column_defaults`, which is public API. `Column#default` is not.
-
由 Sean Griffin 提交于
The case where we have a column object, but don't have a type cast method involves type casting the default value when changing the schema. We get one of the column definition structs instead. That is a case that I'm trying to remove overall, but in the short term, we can achieve the same behavior without needing to pass the adapter to the array type by creating a fake type that proxies to the adapter.
-
由 Zachary Scott 提交于
-
由 Aditya Kapoor 提交于
-
由 Rafael Mendonça França 提交于
Don't assume that Hstore columns have always changed
-
由 Sean Griffin 提交于
HStore columns come back from the database separated by a comma and a space, not just a comma. We need to mirror that behavior since we compare the two values. Also adds a regression test against JSON to ensure we don't have the same bug there.
-
由 Rafael Mendonça França 提交于
Use `column_defaults` in dirty for checking changed defaults
-
由 Sean Griffin 提交于
We no longer need to "init changed attributes" from the initializer, either, as there is no longer a case where a given value would differ from the default, but would not already be marked as changed.
-
由 Rafael Mendonça França 提交于
Don't mess with `column_defaults` when optimistic locking is enabled
-
由 Aditya Kapoor 提交于
-
- 17 6月, 2014 6 次提交