| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | | |
database
|
| | | | | |
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | | |
fixtures
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | | |
generator
|
| | | | |
| | | | |
| | | | |
| | | | | |
This is a test for 978c568a7bffe354180aaefa471092182fed1015
|
|\ \ \ \ \
| |_|/ / /
|/| | | | |
Use `File.expand_path` instead of `File.join`
|
| | | | |
| | | | |
| | | | | |
cc/ @carlosantoniodasilva
|
| |/ / /
|/| | |
| | | |
| | | |
| | | |
| | | | |
Obviated by rubygems/rubygems@486ed83cc8e706069213c5d406122f4cfcca9e7f
This reverts commit bb8923dee093b615615cdfb83b34d1b0bb254f25.
|
| | | |
| | | |
| | | |
| | | | |
All our generated code follow this rule
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
As of 2a68f68aead9fd65ecac8062ca8efc15f5bab418:
- Unit tests are now in test/models, instead of test/units
- Functional tests are now in test/controllers, instead of
test/functional
- Helper tests are now in test/helpers, instead of test/units/helpers
- Mailer tests are now in test/mailers, instead of test/functional
Update the rake task for code statistics (`rake stats`) so that it
recognizes files in the above locations as tests, and accurately
calculates statistics such as "Test LOC" and "Code to Test Ratio."
Safely handle Rails apps that still have tests in the old locations.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
RG2 packager expects each spec.files path to be a file and bombs when it tries to tarball a dir.
May revert if rubygems/rubygems#413 is accepted.
|
| |/ /
|/| |
| | |
| | |
| | | |
Otherwise it was matching "end" lines from blocks within the method body,
making tests such as the migration ones fail.
|
| | | |
|
|\ \ \
| | | |
| | | | |
Fix #assert_instance_method to also assert indented methods
|
| | | | |
|
|\ \ \ \
| | | | |
| | | | | |
Use attr_accessor for Rails.{application,cache,logger}
|
| | | | | |
|
| | | | | |
|
| |/ / /
|/| | |
| | | |
| | | |
| | | |
| | | | |
As [Security Guide](http://edgeguides.rubyonrails.org/security.html#whitelists-versus-blacklists)
says, it's better to use `before_filter only: []` instead of `except: []`
so we don't forget to turn the filter off for newly added actions.
|
| | | |
| | | |
| | | |
| | | | |
callbacks
|
| | | |
| | | |
| | | |
| | | | |
This reverts commit c59734f756b79c39486c45273d2cc5d42cd0c864.
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Before:
Finished tests in 56.245787s, 0.2133 tests/s, 0.0000 assertions/s.
12 tests, 0 assertions, 0 failures, 0 errors, 0 skips
After:
Finished tests in 42.401416s, 0.2830 tests/s, 0.0000 assertions/s.
12 tests, 0 assertions, 0 failures, 0 errors, 0 skips
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This commit inverts the precedence in ActionDispatch::Static so that
dynamic content will be served before static content. This is so that
precompiled assets do not inadvertently get included when running in
development mode - it should have no effect in production where static
files are usually handled by the web server.
Closes #6421
|
| |/ /
|/| |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This cleanup aims to fix a build failure:
https://travis-ci.org/rails/rails/jobs/3515951/#L482
Since travis always have both ENV vars set to "test", a test is failing
where it's expected to output the default env "development", but "test"
is the result due to RACK_ENV being set when we expect it to not be.
By cleaning this duplication we ensure that changing any of these env
variables will pick the right expected value.
|
| | | |
|
| | |
| | |
| | |
| | | |
[ci skip]
|
| | | |
|
|\ \ \ |
|
| | | | |
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Sometimes, on Mac OS X, programmers accidentally press Option+Space
rather than just Space and don’t see the difference. The problem is
that Option+Space writes a non-breaking space (0XA0) rather than a
normal space (0x20).
This commit removes all the non-breaking spaces inadvertently
introduced in the comments of the code.
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
Turbolinks should be located at the bottom of application.js
to detect assets change properly.
|
| | | |
|
| | |
| | |
| | |
| | | |
Related to changes introduced in 553b563749517114323b4e8742509227e0daab67
|
|\ \ \
| | | |
| | | | |
Add db to the list of default annotation folders
|
| |/ / |
|
|/ /
| |
| |
| |
| | |
This will put ~/ in .gitconfig so it will not be hardcoded to the home
directory where the command was run.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
They was extracted from a plugin.
See https://github.com/rails/rails-observers
[Rafael Mendonça França + Steve Klabnik]
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This reverts commit 33b29e0112db62d3a8c798bb58f51c0a839d9e26, reversing
changes made to ac8c729342e6b020a57d0d6887c8a8d5b39f96e0.
Reason:
https://github.com/rails/rails/pull/4684#commitcomment-920313
|
| |
| |
| |
| |
| |
| | |
* I guess this would be the preferrable default for Bundler
* current version of Bundler converts :rubygems into 'http://rubygems.org', not https://,
and that will help those who are working on a very poor network environment that doesn't allow SSL
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
Provides a better error message incase the database.yaml
has some errors.
|
|\ \
| | |
| | | |
require bundler groups to include rake-tasks in engines
|