aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib
Commit message (Collapse)AuthorAgeFilesLines
* Moved the check for the rails test environment into rails/test_unit so that youwangjohn2013-04-232-4/+4
| | | | can select frameworks separately when running rake test.
* ActiveRecord -> Active RecordXavier Noria2013-04-221-1/+1
|
* Merge branch 'master' of github.com:rails/railsDavid Heinemeier Hansson2013-04-191-2/+2
|\
| * Unindent attributes iteration in scaffold index templateCarlos Antonio da Silva2013-04-181-2/+2
| | | | | | | | | | | | | | | | | | | | Otherwise we get extra indent for the <td> elements due to the extra spaces at the beginning of the lines, like this: <tr> <td><%= author.name %></td> <td><%= link_to 'Show', author %></td> <td><%= link_to 'Edit', edit_author_path(author) %></td>
* | AlignmentDavid Heinemeier Hansson2013-04-181-1/+1
|/
* Indent around the scaffold loopDavid Heinemeier Hansson2013-04-181-8/+8
|
* HTML5 breaksDavid Heinemeier Hansson2013-04-182-4/+4
|
* Better orderingDavid Heinemeier Hansson2013-04-181-3/+3
|
* Use sass-rails 4.0.0.rc1Rafael Mendonça França2013-04-181-1/+1
|
* Use latest coffee-rails releaseRafael Mendonça França2013-04-181-1/+1
|
* Revert "sprockets 2.9.x doesn't work with uglifier 2.0 yet."Rafael Mendonça França2013-04-181-2/+2
| | | | | | | | | This reverts commit 575838795019f7402992e3bfa83a0c5048cf143d. Conflicts: railties/lib/rails/generators/app_base.rb Reason: sprockets 2.9.1 fixes this issue
* Don't need to add activerecord-deprecated_finders on edge and devRafael Mendonça França2013-04-171-3/+1
| | | | | | | applications This gem will not change often to explain it be included in the application Gemfile
* Use strip_heredoc where possibleSam Ruby2013-04-111-14/+12
| | | | | | | | | | | | | Following up on an observation by @rafaelfranca https://github.com/rails/rails/pull/10170/files#r3753963 Reduce the number of gsub calls to the two cases where inputs are concatenated from various sources and with inconsistent indentation. Also zap extraneous spacing from the sass-rails line... presumably this is a holdover from a previous time where this aligned the version string with an adjacent line.
* application loader refactor and test suite complete rewriteXavier Noria2013-04-111-28/+27
|
* Editorial pass over generated GemfileSam Ruby2013-04-102-7/+11
| | | | | | * When run with default options, no repeated blank lines * Every gem has a comment, perhaps a generic one, but a comment nonetheless * Most comments used to start with "Use", some with "To use" => made consistent
* code review of 22e5ab3Xavier Noria2013-04-101-8/+7
|
* Searching for rails executable correctlyPrathamesh Sonpatki2013-04-101-16/+11
| | | | | | | | | | * Current logic of finding Rails executable in parent directory is not returning full path of executable if it is found in one of the parent directories * To compensate for this, we have to call exec_app_rails recursively until the executable is found or we cant do 'chdir' anymore * This solution finds the correct executable path from parent directory(s) recursively
* Explain how to upgrade bin/ for Rails 4Jeremy Kemper2013-04-091-8/+29
|
* Merge pull request #9843 from indirect/rails_binRafael Mendonça França2013-04-091-10/+20
|\ | | | | Rails 4 prints help for "rails new" when running "rails console"
| * fix binstub typoAndre Arko2013-03-301-1/+1
| |
| * need to delete bin, not binstub, update wordingAndre Arko2013-03-271-4/+4
| |
| * script/rails could never be from bundlerAndre Arko2013-03-271-1/+1
| |
| * rails commands even if bin/rails is a gem stubAndre Arko2013-03-201-10/+20
| |
* | sprockets 2.9.x doesn't work with uglifier 2.0 yet.Rafael Mendonça França2013-04-061-2/+2
| | | | | | | | | | | | See https://travis-ci.org/rails/rails/jobs/6110543#L1285 for the failure cc @josh
* | remove unused variablesVipul A M2013-04-062-2/+1
| |
* | rake test app/model/foo.rb and rake test models/foo worksAaron Patterson2013-04-051-3/+23
| |
* | extract test info from the command line and set up the test taskAaron Patterson2013-04-051-4/+6
| |
* | add a class for splitting up rake commandsAaron Patterson2013-04-051-0/+35
| |
* | removing `rails test`, updating docs to show how to use `rake test`Aaron Patterson2013-04-052-155/+0
| |
* | Update Rake tasks to call `rails test` insteadPrem Sichanugrist2013-04-051-7/+10
| | | | | | | | | | | | | | | | | | Also, print out deprecation warning for other rake tasks except `rake test` and `rake` (default) Conflicts: railties/lib/rails/test_unit/testing.rake railties/test/application/rake_test.rb
* | Merge branch 'master' into railstestAaron Patterson2013-04-054-12/+23
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * master: (44 commits) Improve the changelog entry [ci skip] Fix explicit names on multiple file fields Correctly parse bigint defaults in PostgreSQL Move changelog to the top [ci skip] Fix indent and remove extra white spaces Fix scope chaining + STI failing test for #9869 Improve `belongs_to touch: true` timestamp test Sort modules in alphabetical order. Avoid an attempt to fetch old record when id was not present in touch callback Use the correct pk field from the reflected class to find the old record Refactor mail_to to not generate intermediate hashes when adding href Ensure mail_to helper does not modify the given html options hash Use inspect when writing the foreign key from the reflection Use a space after the comment sign when showing the result of commands Exclude template files for rdoc API [ci skip] template should have generic name use | to have more intent revealing code Revert "Merge pull request #10034 from benofsky/fix_skipping_object_callback_filters" stop depending on callbacks ... Conflicts: railties/test/application/rake_test.rb
| * \ Merge pull request #10092 from amco/masterCarlos Antonio da Silva2013-04-041-10/+16
| |\ \ | | | | | | | | Model generator USAGE doc improvement
| | * | Model generator USAGE doc improvedJason King2013-04-041-10/+16
| | | | | | | | | | | | | | | | | | | | | | | | * Added information about syntax for precision/scale of decimals * Removed incorrect information about being able to set `default` * Added more examples of usage
| * | | Exclude template files for rdoc API [ci skip]Francesco Rodriguez2013-04-041-1/+2
| |/ /
| * | add require to suppress warning; remove variableVipul A M2013-04-041-1/+1
| | |
* | | check pending migrations against the test dbAaron Patterson2013-04-031-15/+1
| | |
* | | only match the default taskAaron Patterson2013-04-031-1/+1
| | |
* | | a test file can be provided to rake, e.g.:Aaron Patterson2013-04-031-1/+10
| | | | | | | | | | | | rake test path/to/test.rb
* | | switch to Rails::TestTaskAaron Patterson2013-04-032-25/+34
| | |
* | | default task should also be in the test envAaron Patterson2013-04-031-1/+1
| | |
* | | Revert "Update Rake tasks to call `rails test` instead"Aaron Patterson2013-04-031-28/+52
| | | | | | | | | | | | This reverts commit b51673fbd9563bd3ffa22e22255ca1cef80cfb6d.
* | | Revert "Warning removed unused variable task_name"Aaron Patterson2013-04-031-0/+1
| | | | | | | | | | | | This reverts commit 106e15927f0dd8060fc37eff44b823a92fa94bd2.
* | | apps that depend on active record should load fixturesAaron Patterson2013-04-031-3/+2
|/ /
* | Merge pull request #10074 from ↵Rafael Mendonça França2013-04-031-1/+0
|\ \ | | | | | | | | | | | | trevorturk/remove-fixme-comments-about-legacy-key-generator Remove comments about removing LegacyKeyGenerator in 4.1
| * | Remove comments about removing LegacyKeyGenerator in 4.1Trevor Turk2013-04-031-1/+0
| | |
* | | Avoid running bundler on tests that don't need itSam Ruby2013-04-031-1/+4
| | |
* | | Getting rid of a few other vestiges of rails.png.Steve Klabnik2013-04-021-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We don't actually need a rails.png in the AP fixtures, the tests that use it don't actually try to load the file. We also don't need to get rid of it with the dummy reset either. Finally, it's not needed in the sample application that's included with the Rails Guides.
* | | We don't need to remove index.html any more.Steve Klabnik2013-04-021-1/+0
| | | | | | | | | | | | | | | Since it's not a real file any longer, no need to worry about removing it when we reset the dummy.
* | | .gitkeep -> .keepSteve Klabnik2013-04-021-0/+0
|/ / | | | | | | Mentioned in a comment in e90c2d029edc by @frodsan.
* | Rename DummyKeyGenerator -> LegacyKeyGeneratorTrevor Turk2013-04-021-2/+2
| |