Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | Partial fix of database url tests | schneems | 2013-12-25 | 1 | -1/+4 | |
| | | | | | | | | | | | | | | | | Prior to #13463 when `DATABASE_URL` was set, Rails automagically used that value instead of the database.yml. There are tests in dbs_test that expect this to still be true. After that PR, `RAILS_DATABASE_URL` is expected to be read into the YAML file via ERB, this PR fixes that behavior. Note: this does not entirely fix the tests. It seems that `ActiveRecord::Tasks::DatabaseTasks.current_config` does not process the url string correctly (convert it into a hash), and ` ActiveRecord::Tasks::DatabaseTasks.structure_load(current_config, filename)` as well as other methods in `DatabaseTasks` expect a hash. It seems like we should involve the resolver somewhere in this process to correctly convert the database url, I do not know the best place for that /cc @josevalim | |||||
* | | Fix tests names: tokens.yml => secrets.yml | Guillermo Iguaran | 2013-12-25 | 1 | -2/+2 | |
| | | ||||||
* | | using symbol instead of string in establish_connection | Kuldeep Aggarwal | 2013-12-25 | 1 | -1/+1 | |
| | | ||||||
* | | Use Full path to sqlite database in tests | schneems | 2013-12-22 | 2 | -4/+4 | |
| | | ||||||
* | | Make possible to use symbol as the verifier name | Rafael Mendonça França | 2013-12-19 | 1 | -6/+6 | |
| | | ||||||
* | | Default I18n.enforce_available_locales to true | Carlos Antonio da Silva | 2013-12-17 | 1 | -4/+38 | |
| | | | | | | | | | | | | | | | | | | | | | | | | We will default this option to true from now on to ensure users properly handle their list of available locales whenever necessary. This option was added as a security measure and thus Rails will follow it defaulting to secure option. Also improve the handling of I18n config options in its railtie, taking the new enforce_available_locales option into account, by setting it as the last one in the process. This ensures no other configuration will trigger a deprecation warning due to that setting. | |||||
* | | Add mailer previews feature based on mail_view gem | Andrew White | 2013-12-17 | 1 | -0/+388 | |
| | | ||||||
* | | Regression test for load_structure and clone_structure | Arthur Neves | 2013-12-14 | 1 | -2/+4 | |
| | | ||||||
* | | Rename tokens.yml to secrets.yml | Guillermo Iguaran | 2013-12-12 | 1 | -3/+3 | |
| | | ||||||
* | | Add test for custom tokens stored in config/tokens.yml | Guillermo Iguaran | 2013-12-12 | 1 | -0/+13 | |
| | | ||||||
* | | Replace config.secret_key_base with secrets.secret_key_base in test | Guillermo Iguaran | 2013-12-12 | 1 | -1/+1 | |
| | | ||||||
* | | Load secret_key_base from tokens.yml, fallback to config.secret_key_base | Guillermo Iguaran | 2013-12-12 | 1 | -3/+23 | |
| | | ||||||
* | | Assert the singleton instead of to truthy/falsy | Rafael Mendonça França | 2013-12-05 | 1 | -4/+4 | |
| | | | | | | | | | | This will avoid false positives where caching? is nil and should be false | |||||
* | | Add tests to cache_template_loading when an engine loaded Action View | Rafael Mendonça França | 2013-12-05 | 1 | -0/+14 | |
| | | | | | | | | | | | | | | | | before the application This test is a regression test to b068e20b35797aa6deaa377a48c990759734f515 that changed the load order of Action View initializers. | |||||
* | | set `i18n.enforce_available_locales` before `i18n.default_locale`. | Yves Senn | 2013-12-05 | 1 | -0/+11 | |
| | | ||||||
* | | Make salt argument required for message verifier | Rafael Mendonça França | 2013-12-04 | 1 | -5/+5 | |
| | | ||||||
* | | Test if two different verifiers don't share the same secret | Rafael Mendonça França | 2013-12-04 | 1 | -2/+12 | |
| | | ||||||
* | | Don't need to use a controller to test the verifier | Rafael Mendonça França | 2013-12-04 | 1 | -9/+3 | |
| | | ||||||
* | | No need to configure salts | Rafael Mendonça França | 2013-12-04 | 1 | -21/+1 | |
| | | ||||||
* | | Make possibile to get different message verifiers | Rafael Mendonça França | 2013-12-04 | 1 | -0/+10 | |
| | | ||||||
* | | Rename verifier to message_verifier | Rafael Mendonça França | 2013-12-04 | 1 | -3/+3 | |
| | | ||||||
* | | Add application verifier | Rafael Mendonça França | 2013-12-04 | 1 | -0/+41 | |
| | | | | | | | | | | | | | | | | It is an application global verifier that can be used to generate and verify signed messages. See the documentation of ActiveSupport::MessageVerifier for more information. | |||||
* | | Merge pull request #12365 from jbaudanza/reorder | Guillermo Iguaran | 2013-12-01 | 1 | -1/+1 | |
|\ \ | | | | | | | Move Rack::Cache after ActionDispatch::Static in the middleware stack | |||||
| * | | Move Rack::Cache after AD::Static in the stack | Jonathan Baudanza | 2013-09-25 | 1 | -1/+1 | |
| | | | ||||||
* | | | Build fix for new routing inspector changes | Arun Agrawal | 2013-11-22 | 1 | -2/+2 | |
| | | | | | | | | | | | | | | | | | | Broken by 6701b4cf41f6f3d9cfc6a93715acbf852d1e468e | |||||
* | | | Merge pull request #12975 from sbagdat/fix-for-rake-routes | Yves Senn | 2013-11-21 | 1 | -2/+2 | |
|\ \ \ | | | | | | | | | Fix for routes task | |||||
| * | | | Fix for routes task | Sıtkı Bağdat | 2013-11-21 | 1 | -2/+2 | |
| | | | | | | | | | | | | | | | | This commit fixes formatting issue for `rake routes` task, when a section is shorter than a header. | |||||
* | | | | replace U+00A0 with whitespace | Dmitriy Budnik | 2013-11-21 | 1 | -1/+1 | |
|/ / / | ||||||
* | | | added test cases to find notes in a file with .builder extension | Kuldeep Aggarwal | 2013-11-17 | 1 | -1/+3 | |
| | | | ||||||
* | | | Build fix for ruby 1.9.3 syntax | Arun Agrawal | 2013-11-16 | 1 | -1/+1 | |
| | | | ||||||
* | | | Instrument each load config initializer | Paul Nikitochkin | 2013-11-16 | 1 | -0/+13 | |
| | | | | | | | | | | | | | | | | | | In order to simplify profiling loading of initializers, added instument for tracking load config initializer event from `config/initializers` | |||||
* | | | Merge pull request #12695 from mikepack/allow_pathnames | Yves Senn | 2013-11-11 | 1 | -0/+14 | |
|\ \ \ | | | | | | | | | Allow Pathnames to be added to eager load paths | |||||
| * | | | Allow Pathnames to be added to eager load paths | Mike Pack | 2013-11-11 | 1 | -0/+14 | |
| | | | | ||||||
* | | | | Make static error pages responsive | Etienne Lemay | 2013-11-11 | 1 | -1/+1 | |
|/ / / | ||||||
* | | | BACKTRACE environment variable to show unfiltered backtraces. | Yves Senn | 2013-11-04 | 1 | -5/+34 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We used to support the `BACKTRACE` environment variable but when we switched to MiniTest it got removed: f9382cd7948 This commit adds back the functionality to show the unfiltered backtrace when needed. This also works when you run your tests with `rake`: * `BACKTRACE=1 bin/rake test` * `BACKTRACE=1 ruby -Itest ...` | |||||
* | | | More Warnings removed for ruby trunk | Arun Agrawal | 2013-11-01 | 3 | -8/+8 | |
| |/ |/| | | | | | Same as 4d4ff531b8807ee88a3fc46875c7e76f613956fb | |||||
* | | Expose MiddlewareStack#unshift to environment configuration. | Ben Pickles | 2013-10-09 | 1 | -0/+6 | |
| | | ||||||
* | | Merge branch 'fix-ip-spoof-errors' of https://github.com/tamird/rails into ↵ | Andrew White | 2013-09-30 | 1 | -0/+10 | |
|\ \ | |/ |/| | | | tamird-fix-ip-spoof-errors | |||||
| * | make sure both headers are set before checking for ip spoofing | Tamir Duberstein | 2013-06-04 | 1 | -0/+10 | |
| | | ||||||
* | | Merge pull request #12216 from suginoy/a-an | Rafael Mendonça França | 2013-09-13 | 2 | -3/+3 | |
|\ \ | | | | | | | Fix typos: the indefinite articles(a -> an). | |||||
| * | | Fix typos: the indefinite articles(a -> an) | SUGINO Yasuhiro | 2013-09-13 | 2 | -3/+3 | |
| | | | ||||||
* | | | Remove BasicRendering tests | José Valim | 2013-09-09 | 1 | -62/+0 | |
|/ / | ||||||
* | | Merge pull request #11912 from jonkessler/respond-to-signature-fixes | Rafael Mendonça França | 2013-08-31 | 1 | -0/+7 | |
|\ \ | | | | | | | Update Rails::Railtie::Configuration and ActionDispatch::Response#respond_to? to accept include_private argument | |||||
| * | | update Rails::Railtie::Configuration and ↵ | Jon Kessler | 2013-08-16 | 1 | -0/+7 | |
| | | | | | | | | | | | | ActionDispatch::Response#respond_to? to accept include_private argument | |||||
* | | | Extend basic rendering, test it in railties | Łukasz Strzałkowski | 2013-08-25 | 1 | -0/+62 | |
| | | | ||||||
* | | | Missing AV requires in railties tests | Łukasz Strzałkowski | 2013-08-25 | 1 | -0/+1 | |
|/ / | ||||||
* | | fix build error caused by #11900. | Yves Senn | 2013-08-15 | 1 | -1/+1 | |
| | | ||||||
* | | Adding LESS to rake notes | Josh Crowder | 2013-08-15 | 1 | -0/+2 | |
| | | ||||||
* | | Rails.logger should have level specified by config.log_level. | Max Shytikov | 2013-07-30 | 1 | -0/+8 | |
| | | | | | | Fix bug when log level of Rails.logger (which was set via config.logger) does not match the config.log_level. | |||||
* | | Revert "Match Dev/Prod parity for Index Page" | Piotr Sarnacki | 2013-07-22 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | Showing welcome page in production can expose information, which should not be visible on production if people don't override the default root route. This reverts commit b0caea29c2da9f4c8bb958019813482da297067d. |