| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| | |
Removal of javascript related files when creating an app
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Commit 0417bc8 add the coffee-rails and javascript runtime gems even
when passing the --skip-javascript option but this is not the desired
behavior.
Also remove all javascript related stuff in the generated application
such as the vendor/assets/javascripts folder.
|
| | |
|
|\ \
| | |
| | | |
Add a changelog entry for #12656 [ci skip]
|
| | | |
|
|/ /
| |
| |
| | |
might well have specified the right gem, but locked it to too low of a version)
|
|\ \
| | |
| | | |
don't let StrongParameters mutate the hash with fetch
|
|/ / |
|
|\ \
| | |
| | |
| | |
| | | |
rails/ps-remove-surprise-if-in-show-exception-middleware
Remove surprise if from show_exception middleware
|
|/ /
| |
| | |
This increase the readability within the rescue block.
|
|\ \
| | |
| | | |
Fixed typo with after_commit docs
|
|/ /
| |
| | |
Fixed syntax error on `after_commit` docs
|
|\ \
| | |
| | | |
cast json values on write to be consistent with reading from the db.
|
| | |
| | |
| | |
| | | |
See also commit 5ac2341fab689344991b2a4817bd2bc8b3edac9d
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
Raising `RuntimeErrors` skips important cleanup code and leads to
a lot of subsequent errors. This clutters the test output with a lot
of noise.
|
|\ \ \
| |/ /
|/| | |
prevent global timezone state from leaking out of test cases.
|
| | | |
|
|\ \ \
| | | |
| | | | |
Improve usage example for model generator decimal field
|
| | | | |
|
|\ \ \ \
| |/ / /
|/| | |
| | | |
| | | | |
jetthoughts/12640_updated_migrations_doc_to_use_remove_column
Fix migration docs to use new remove_column semantics
|
| | | |
| | | |
| | | |
| | | | |
Fixes: #12640
|
|\ \ \ \
| | | | |
| | | | | |
ActiveRecord Store works with PG `hstore` columns
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This is necessary because as of 5ac2341 `hstore` columns are always stored
as `Hash` with `String` keys. `ActiveRecord::Store` expected the attribute to
be an instance of `HashWithIndifferentAccess`, which led to the bug.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Currently they are all stored globally in the same `Hash`.
This commit forces the creation of a per-class variable if necessary.
The behavior was exposed through the following test-case:
```
1) Failure:
StoreTest#test_all_stored_attributes_are_returned [/Users/senny/Projects/rails/activerecord/test/cases/store_test.rb:151]:
--- expected
+++ actual
@@ -1 +1 @@
-[:color, :homepage, :favorite_food]
+[:resolution, :color, :homepage, :favorite_food]
```
|
|/ / / / |
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
laurocaetano/fix_has_one_association_with_primary_key_set
Save association when primary key is manually set
Conflicts:
activerecord/CHANGELOG.md
|
| | | | | |
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Avoid unnecessary catching of Exception instead of StandardError (conver...
|
| | |_|/ /
| |/| | |
| | | | |
| | | | | |
Exceptions into StandardErrors)
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
* Remove unneeded comments.
* Use key? instead of keys.include?.
|
|\ \ \ \ \
| | | | | |
| | | | | |
| | | | | | |
Issue #8442
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
singleton classes
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
Always check to see if methods exist after calling define_attribute_methods
|
| | |/ / / /
| |/| | | | |
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Allow any version of BCrypt
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Add params option for button_to
Conflicts:
actionpack/CHANGELOG.md
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
The parameters are rendered as hidden form fields within the generated
form. This is useful for when a record has multiple buttons associated
with it, each of which target the same controller method, but which
need to submit different attributes.
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
Make slice! honor default hash value/proc
|
| | |_|_|_|/ /
| |/| | | | | |
|
| | | | | | | |
|
|\ \ \ \ \ \ \
| |_|_|/ / / /
|/| | | | | | |
update CHANGELOG
|
| |/ / / / / |
|
|\ \ \ \ \ \
| |/ / / / /
|/| | | | | |
Fix typo: `has_many :pets`, not `pets :has_many`.
|
|/ / / / / |
|
|\ \ \ \ \
| | | | | |
| | | | | | |
pass app config to controller helper proxy
|
|/ / / / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
After this fix application config become available when calling helper outisde of view
config/application.rb
#...
config.asset_host = 'http://mycdn.com'
#...
Somewhere else
ActionController::Base.helpers.asset_path('fallback.png')
# => http://mycdn.com/assets/fallback.png
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Correct error in Utils.normalize_path that changed paths improperly
|
| | | | | | |
|