aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test
Commit message (Collapse)AuthorAgeFilesLines
...
| * | Fix for routes taskSıtkı Bağdat2013-11-211-2/+2
| | | | | | | | | | | | This commit fixes formatting issue for `rake routes` task, when a section is shorter than a header.
* | | replace U+00A0 with whitespaceDmitriy Budnik2013-11-211-1/+1
|/ /
* | added test cases to find notes in a file with .builder extensionKuldeep Aggarwal2013-11-171-1/+3
| |
* | Build fix for ruby 1.9.3 syntaxArun Agrawal2013-11-161-1/+1
| |
* | Instrument each load config initializerPaul Nikitochkin2013-11-161-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_pathnamesYves Senn2013-11-111-0/+14
|\ \ | | | | | | Allow Pathnames to be added to eager load paths
| * | Allow Pathnames to be added to eager load pathsMike Pack2013-11-111-0/+14
| | |
* | | Make static error pages responsiveEtienne Lemay2013-11-111-1/+1
|/ /
* | Added platform dependent gemsArun Agrawal2013-11-071-0/+7
| | | | | | | | | | | | See #12475 If people are on rbx they will get the desired gem
* | application template respects Gemfile entriesAaron Patterson2013-11-041-0/+20
| |
* | gems can be added or skipped from the templateAaron Patterson2013-11-042-0/+27
| |
* | BACKTRACE environment variable to show unfiltered backtraces.Yves Senn2013-11-041-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 ...`
* | No web-console for nowArun Agrawal2013-11-031-5/+0
| |
* | Merge pull request #12733 from robin850/fix-railties-buildRafael Mendonça França2013-11-012-3/+3
|\ \ | | | | | | Fix railties build
| * | Fix some failing tests for Rails::PathsRobin Dupret2013-11-012-3/+3
| | | | | | | | | | | | | | | Since we are not using the File.exists? alias which raises a warning on current ruby trunk, few stubs are wrong.
* | | More Warnings removed for ruby trunkArun Agrawal2013-11-015-13/+13
| | | | | | | | | | | | Same as 4d4ff531b8807ee88a3fc46875c7e76f613956fb
* | | Passing args for gemfile entryArun Agrawal2013-11-011-1/+1
|/ / | | | | | | Fixing build
* | gemfile entries can be added to the app builderAaron Patterson2013-10-311-0/+35
| |
* | forgot to add the test. orz :cry:Aaron Patterson2013-10-311-0/+50
| |
* | add a test for whitespace separated args in the rc fileAaron Patterson2013-10-301-0/+16
| |
* | there is no reason for ARGV[0] to be nilAaron Patterson2013-10-301-2/+2
| |
* | add a comment to people of the futureAaron Patterson2013-10-301-1/+5
| |
* | adding a test for --help defaultsAaron Patterson2013-10-301-0/+7
| |
* | change the test to make argv a little more realisticAaron Patterson2013-10-301-7/+6
| |
* | adding a test for the current behaviorAaron Patterson2013-10-301-0/+18
| |
* | add a test for the rc commandline optionAaron Patterson2013-10-301-0/+18
| |
* | remove useless assertionsAaron Patterson2013-10-301-2/+0
| |
* | test some of the rc specificationAaron Patterson2013-10-301-3/+43
| |
* | forgot the test, oops!Aaron Patterson2013-10-301-0/+36
| |
* | Fixed tests for app_generatorArun Agrawal2013-10-271-2/+13
| | | | | | | | | | | | Added test for jbuilder and web-console inclusion. Added README.rdoc for test default files
* | Removal of javascript related gems when creating an appRobin Dupret2013-10-271-5/+7
| | | | | | | | | | | | | | | | | | 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.
* | Make the application name snake cased when it contains spacesRobin Dupret2013-10-221-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | The application name is used to fill the `database.yml` and `session_store.rb` files ; previously, if the provided name contained whitespaces, it led to unexpected names in these files. Since Shellwords.escape adds backslashes to escape spaces, the app_name should remove them and replace any space with an underscore (just like periods previously). Also improve the assert_file helper to work with paths containing spaces using String#shellescape.
* | Added --model-name option scaffold_controller_generator.yalab2013-10-152-0/+28
| |
* | Make logging to stdout work again with implicit `development` envMarc Schütz2013-10-132-12/+52
| |
* | Expose MiddlewareStack#unshift to environment configuration.Ben Pickles2013-10-091-0/+6
| |
* | Merge branch 'fix-ip-spoof-errors' of https://github.com/tamird/rails into ↵Andrew White2013-09-301-0/+10
|\ \ | |/ |/| | | tamird-fix-ip-spoof-errors
| * make sure both headers are set before checking for ip spoofingTamir Duberstein2013-06-041-0/+10
| |
* | Only output Server logs in Developmentschneems2013-09-221-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Right now when you start a server via `rails s`, the logger gets extended so that it logs to the file system and also to stdout. This extension behavior is not "intelligent" and if the default logger is already set to output to stdout, then the contents will be received twice. To capture logs in accordance with http://www.12factor.net/logs some platforms require the logs to be sent to standard out. If a logger is set to stdout, and the server is started using `rails server` instead of another method (i.e. `thin start` etc.) then the app will produce double logs. This PR fixes the issue by only extending the logger to standard out in the development environment. So that in production you don't get double logs like this: ``` ActionView::Template::Error (wrong number of arguments (5 for 4)): 1: <% lang_index = 0 %> 2: <div class="row"> 3: <ul class="nav nav-tabs nav-stacked span2" data-tabs="tabs" id="repo-tabs"> 4: <% repos.group_by(&:language).each do |lang, repos| %> 5: <% unless lang == nil %> 6: <li><a href="#<%= "#{lang.parameterize}#{lang.hash}" %>" data-toggle="tab"><%= lang %></a></li> 7: <% end -%> app/views/shared/_repos.html.erb:4:in `_app_views_shared__repos_html_erb___1685450633638247395_70300668607000' app/views/pages/index.html.erb:13:in `_app_views_pages_index_html_erb__2084723628308867770_70300687584880' ActionView::Template::Error (wrong number of arguments (5 for 4)): 1: <% lang_index = 0 %> 2: <div class="row"> 3: <ul class="nav nav-tabs nav-stacked span2" data-tabs="tabs" id="repo-tabs"> 4: <% repos.group_by(&:language).each do |lang, repos| %> 5: <% unless lang == nil %> 6: <li><a href="#<%= "#{lang.parameterize}#{lang.hash}" %>" data-toggle="tab"><%= lang %></a></li> 7: <% end -%> app/views/shared/_repos.html.erb:4:in `_app_views_shared__repos_html_erb___1685450633638247395_70300668607000' app/views/pages/index.html.erb:13:in `_app_views_pages_index_html_erb__2084723628308867770_70300687584880' ``` ATP Railties. Opened against master in favor of #10999
* | Don't require using application_name before optionsPiotr Sarnacki2013-09-131-5/+0
| | | | | | | | | | | | | | | | | | | | | | | | Before this commit options for `rails new` and `rails plugin new` had to be passed in a strict order, trying to execute a following command: rails new -J path/to/app resulted in an error. This commit fixes the situation and allows to pass path to app anywhere after `new`
* | Merge pull request #12216 from suginoy/a-anRafael Mendonça França2013-09-133-4/+4
|\ \ | | | | | | Fix typos: the indefinite articles(a -> an).
| * | Fix typos: the indefinite articles(a -> an)SUGINO Yasuhiro2013-09-133-4/+4
| | |
* | | Remove BasicRendering testsJosé Valim2013-09-091-62/+0
|/ /
* | Merge pull request #11912 from jonkessler/respond-to-signature-fixesRafael Mendonça França2013-08-311-0/+7
|\ \ | | | | | | Update Rails::Railtie::Configuration and ActionDispatch::Response#respond_to? to accept include_private argument
| * | update Rails::Railtie::Configuration and ↵Jon Kessler2013-08-161-0/+7
| | | | | | | | | | | | ActionDispatch::Response#respond_to? to accept include_private argument
* | | Fix typo in generators test helpr -> helper [ci skip]Prathamesh Sonpatki2013-08-301-1/+1
| | |
* | | Extend basic rendering, test it in railtiesŁukasz Strzałkowski2013-08-252-0/+68
| | |
* | | Add --skip-action-view to app generatorŁukasz Strzałkowski2013-08-251-0/+5
| | |
* | | Missing AV requires in railties testsŁukasz Strzałkowski2013-08-252-0/+2
| | |
* | | Include AV railtie in railties isolation testsŁukasz Strzałkowski2013-08-251-0/+1
| | |
* | | Add AV as development dependency for railtiesŁukasz Strzałkowski2013-08-251-0/+1
| | | | | | | | | | | | It's needed for tests