| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|/ / / / / |
|
| | | | |
| | | | |
| | | | |
| | | | | |
active_support/core_ext/string/inflections.rb [fixes #6884]
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Introduced in 1abe31670fdad2c357b4356b40a4567a46d16693
The test was failing when running on isolation, because the extensions were
not being loaded, thus 1.year.from_now was failing. Just use mktime
instead, adding 1 year to Time.now.
|
| | | | |
| | | | |
| | | | |
| | | | | |
Related with 5e7d6bb
|
| | | | |
| | | | |
| | | | |
| | | | | |
Related with 5e7d6bba79393de0279917f93b82f3b7b176f4b5
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Bug with FileUpdateChecker with wrong mtime
|
| | |_|_|/
| |/| | | |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This reverts commit 6acebb38bc0637bc05c19d87f8767f16ce79189b.
Usage of this feature did not reveal any improvement in existing apps.
Conflicts:
actionpack/lib/action_dispatch/routing/mapper.rb
guides/source/routing.textile
railties/lib/rails/engine.rb
railties/lib/rails/paths.rb
railties/test/paths_test.rb
|
|/ / / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Since plugins were removed, we can clean up a few methods in engines.
We also use this opportunity to move `load_console`, `load_tasks` and
`load_runner` to Rails::Engine. This means that, if someone wants to
improve script/rails for engines to support console or runner commands,
part of the work is already done.
|
| | | | |
|
| | | | |
|
| | | | |
|
|\ \ \ \
| |/ / /
|/| | | |
Added a changelog entry about fda24312d3.
|
|/ / / |
|
|\ \ \
| | | |
| | | | |
fix ActionMailer::Async docs and update to follow coding conventions
|
|/ / / |
|
|\ \ \
| | | |
| | | | |
Require URI in ConnectionSpecification
|
|/ / / |
|
|\ \ \
| | | |
| | | | |
Support collate for postgresql
|
|/ / / |
|
|\ \ \
| | | |
| | | | |
fixing typo in active record from method
|
|/ / / |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Since composed_of was removed in 051747449e7afc817c599e4135bc629d4de064eb,
these tests were working "by mistake", due to the matching "address"
string in the error message, but with a different error message than the
expected multiparameter assignment error.
Since "address" is not an attribute from Customer anymore, the error was
"undefined method klass for nil", where nil was supposed to be the
column object.
|
| | |
| | |
| | |
| | |
| | | |
All other multiparameter assignment tests are in the same file, so it
makes sense to have all of them here.
|
| | | |
|
|\ \ \
| | | |
| | | | |
Skip test_setting_time_attribute for Oracle database
|
|/ / /
| | |
| | |
| | | |
does not have TIME data type.
|
|\ \ \
| | | |
| | | | |
Speed up Hash#transform_keys using Hash#each_key
|
|/ / /
| | |
| | | |
See https://gist.github.com/3007749 for justification
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
fix bug in limit of enum columns of mysql
Closes #6432
|
|/ / / |
|
|\ \ \
| |_|/
|/| | |
Fixes #6825, adds tests covering cases and error possibilities
|
|/ /
| |
| |
| | |
SQLite3 driver to correctly generate a time column instead of datetime
|
| |
| |
| |
| |
| | |
Pull request #6856, merged in 52f6e47682003c83b0466bf5e140ee302498a226.
[ci skip]
|
|\ \
| | |
| | | |
Fix wrong testcase for db:test:prepare, and wrong environment in AR rake task.
|
| | | |
|
| | | |
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Add polymorphic option to model generator
For instance,
$ rails g model Product supplier:references{polymorphic}
generate model with `belongs_to :supplier, polymorphic: true` association and appropriate migration.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
For instance,
$ rails g model Product supplier:references{polymorphic}
generate model with `belongs_to :supplier, polymorphic: true` association and appropriate migration.
Also fix model_generator_test.rb#L196 and #L201
|
|\ \ \ \
| |_|/ /
|/| | | |
Address test_basic_model test error with Oracle enhanced adapter
|
|/ / /
| | |
| | |
| | | |
which ids start from 1000 as a default.
|
|\ \ \
| | | |
| | | | |
Guide update for Async ActionMailer
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Since we're dealing with a new array instance, it's safe to use map! and
we avoid an extra array object.
Also remove the symbolize_keys! from AttributeMethodMatcher, since it's
an internal class that always receives symbol keys from the prefix/suffix
methods implementations.
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Since we're not directly requiring the reverse_merge extension, we can
avoid another hash creation by using default_hash.merge! instead.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
There's no need to create two extra hashes with options.merge(another_hash),
with the goal of setting only one value, so lets just set it.
Also refactor validates_each to use _merge_attributes, like other
validates_* helpers do.
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Also simplify I18n logic for Array#to_sentence, doing only one lookup
for all keys and using merge!, instead of one lookup for each option key.
|
|\ \ \ \
| | | | |
| | | | | |
Setup each test with default ActiveRecord timezone settings to ensure ea...
|
|/ / / /
| | | |
| | | |
| | | |
| | | |
| | | | |
test starts with a clean slate.
Fixes #6867.
|