| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
[This article](http://weblog.rubyonrails.org/2014/8/20/Rails-4-2-beta1/#maintenance-consequences-and-rails-5-0) states that:
> Rails 5.0 is in most likelihood going to target Ruby 2.2.
Before the exact minimum version is fully decided, @arthurnn [suggests](https://github.com/rails/rails/pull/17830#issuecomment-64940383)
that **at least** version 2.1.0 **must** be required by the `gemspec` files.
|
| | | |
|
|/ /
| |
| |
| |
| |
| |
| | |
We will support only Ruby >= 2.1.
But right now we don't accept pull requests with syntax changes to drop
support to Ruby 1.9.
|
| |
| |
| |
| |
| |
| | |
Change originated from https://github.com/rails/rails/pull/17739#issuecomment-64829088
/cc @metaskills
|
| |
| |
| |
| | |
This reverts commit 2a4e14db981e38611667d407a975600ee720ada7.
|
|/ |
|
| |
|
|\
| |
| |
| | |
be more general with adapter name
|
| | |
|
|\ \
| | |
| | | |
Use absolute_path of caller_locations to infer engine root
|
| | |
| | |
| | |
| | |
| | | |
According to documentation `path` only returns file names. On MRI it's
not the case but it's likely a bug in MRI.
|
|/ / |
|
| | |
|
|\ \
| | |
| | | |
Use web_console 2.0 for 4.2.0.rc1 release
|
| | |
| | |
| | |
| | |
| | | |
This one replaces the notable web-console mentions in guide and the
default Gemfile.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
If you run a generator such as:
```
rails generate model accounts supplier:references
```
The resulting migration will now add the corresponding foreign key
constraint unless the reference was specified to be polymorphic.
|
|/ / |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This reverts deprecations added in #13528.
The task is brought back for two reasons:
1. Give plugins a way to hook into the test database initialization process
2. Give the user a way to force a test database synchronization
While `test:prepare` is still a dependency of every test task, `db:test:prepare`
no longer hooks into it. This means that `test:prepare` runs before the schema
is synchronized. Plugins, which insert data can now hook into `db:test:prepare`.
The automatic schema maintenance can't detect when a migration is rolled-back,
modified and reapplied. In this case the user has to fall back to `db:test:prepare`
to force the synchronization to happen.
|
| |
| |
| |
| |
| |
| | |
The tests to verify our testing setup used `RAILS_ENV=development`
to execute the tests. Let's keep it as close to a real-world setup
as possible.
|
| |
| |
| |
| |
| |
| | |
Closes #17756
[Godfrey Chan, Zachary Scott]
|
| |
| |
| |
| | |
This removes the unwanted deprecation warnings in the tests
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This is a follow-up to 116de07. That change was for two reasons: 1) speed up the
tests by reducing the amount of log lines 2) avoid a deprecation warning from
a6de6f5.
This setting need to be on the basic app too, otherwise the deprecation warning
will show up on other unrelated test cases.
|
|\ \
| | |
| | | |
Always default the log_level to :info for Railties
|
| | | |
|
|\ \ \
| |_|/
|/| | |
Add a CHANGELOG entry for #16622 and a6de6f5 [ci skip]
|
| |/ |
|
| | |
|
| | |
|
| | |
|
|\ \
| | |
| | | |
Creating mailer layouts by default, including html and body tags
|
| | | |
|
| | |
| | |
| | |
| | | |
tags to reduce spam score
|
| |/
|/|
| |
| |
| |
| | |
- Remove sprockets-rails from generated Gemfile as rails has a hard-dependency on it
- Also allow sprockets-rails >= 2.0.0
|
|\ \
| | |
| | | |
Replace ActionDispatch::Head with Rack::Head.
|
| | | |
|
| | |
| | |
| | |
| | | |
I put the wrong path in my last PR by accident. Fixed here. Related to #17742
|
|/ /
| |
| |
| |
| |
| | |
Currently, the docs uses a syntax that is unclear and not general
American English. I've switched it to be clearer wording. Not a big
fix, but may be helpful.
|
| |
| |
| |
| |
| |
| |
| |
| | |
We generate a `.keep` file inside the log directory to make
sure the directory itself is under version control. let's keep
it that way.
/cc @matthewd
|
|\ \
| | |
| | |
| | |
| | |
| | | |
why not gitignore /log as a whole?
[ci skip]
|
|/ / |
|
| | |
|
| | |
|
|\ \
| | |
| | | |
Skip spring install in Cygwin due to fork() bad support.
|
| |/
| |
| |
| | |
See also: https://www.cygwin.com/faq.html#faq.using.fixing-fork-failures
|
|\ \
| | |
| | | |
Minor English fixes in docs [ci skip]
|
| |/ |
|
| | |
|
| |
| |
| |
| |
| |
| | |
This is a more conservative approach to 2602a49. Also changed the comment to be
more inline with everything else in the file (describing what the config value
is doing and why). People should just read the docs for alternatives.
|
|/
|
|
|
|
|
|
|
| |
This reverts commit 2602a49a8600ab52f807599bbd5b1f9c0be4214f, reversing
changes made to 5d7c1057684c377bc2801c8851e99ff11ab23530.
The explicit default was introduced in 21f6d72, so apps created with Rails < 4
have the commented out version, which means that this change would break those
apps.
|