aboutsummaryrefslogtreecommitdiffstats
path: root/railties
Commit message (Collapse)AuthorAgeFilesLines
* Fixed an incompatibility with Ruby 1.9.Jeff Schwab2009-03-101-1/+2
| | | | | | | | | | | Ruby 1.8 strings are Enumerable, but there is no String#lines method. In Ruby 1.9, the situation is reversed. To work around this disparity, the RailsEnvironment#externals method now explicitly checks whether a String responds_to? :lines. [#2130 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Ensure public folder structure is setup correctly if the tests are ran out ↵Joshua Peek2009-03-104-0/+8
| | | | of order, fixes tests in 0c9bbf8
* Fix serving index files with rack static file server [#2180 state:resolved]Joshua Peek2009-03-095-4/+54
|
* Ensure TemplateRunner#ask? works with the rake task to apply a template ↵Andrew Timberlake2009-03-091-1/+1
| | | | | | [#1655 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Correctly clean backtraces from vendor/gems and gems in alternate install ↵Matt Jones2009-03-092-4/+45
| | | | | | locations Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
* Ruby 1.9 compat: rename deprecated assert_raises to assert_raise.Jeremy Kemper2009-03-084-9/+9
| | | | [#1617 state:resolved]
* Raise LoadError instead of a runtime exception [#1498 state:resolved]karmi2009-03-071-1/+1
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* script/plugin install should remove .gitignore too. [#1306 state:resolved] ↵Pratik Naik2009-03-061-2/+2
| | | | [Esad Hajdarevic]
* Ensure that loading metals from the main app and engines works on older Ruby ↵Simon Jefford2009-03-052-3/+14
| | | | | | versions [#2143 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Make sure that Rails frameworks are silenced when running in gem mode tooDavid Heinemeier Hansson2009-03-051-0/+3
|
* Push the guidesDavid Heinemeier Hansson2009-03-051-3/+6
|
* Release RC2 todayDavid Heinemeier Hansson2009-03-051-1/+1
|
* stray character in railties testJoshua Peek2009-03-041-1/+1
|
* Enhanced Rails Metal - the load order of metals can now be configured [#2057 ↵Simon Jefford2009-03-038-3/+105
| | | | | | state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Revert "Speed up script/console by launching IRB directly."Jeremy Kemper2009-03-011-10/+11
| | | | | | [#2104 state:open] This reverts commit 3b169cd693f45911ee71e26708fb9267811c8d83.
* Display gem dependencies correctly and unpack exactly once [#2097 ↵Matt Jones2009-03-013-9/+11
| | | | | | state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Speed up script/console by launching IRB directly.Charles Nutter2009-02-281-11/+10
| | | | | | [#2104 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Merge docrails and update the release notesPratik Naik2009-02-2818-714/+631
|
* Use Array.wrap() instead of Array() and handle ↵Pratik Naik2009-02-281-1/+1
| | | | action_view.cache_template_loading being false
* Ensure 16b3d2b621b1682f249209097c31b0a10f0f87ef works with Ruby 1.9Pratik Naik2009-02-281-1/+1
|
* Added :env option for gem in template runner [#1983 state:resolved]Andrew Vit2009-02-282-4/+35
| | | | | | | | | For installing gems that are only needed in the test environment, specify the :env option so the dependency is written to config/environments/test.rb: gem 'rspec', :env => 'test' gem 'quietbacktrace', :env => %w[development test] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* So it didnt happen yesterday, but very soon! Just need the final details ↵David Heinemeier Hansson2009-02-281-1/+1
| | | | ironed out
* Merge branch 'master' of git@github.com:rails/railsJeremy Kemper2009-02-2710-19/+48
|\
| * Prep for RC2 later todayDavid Heinemeier Hansson2009-02-273-7/+7
| |
| * Metal can now line in plugins under app/metal [#2045 state:committed]Matthew Rudy Jacobs2009-02-277-11/+40
| | | | | | | | Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
| * Force all internal calls to Array#to_sentence to use English [#2010 ↵David Heinemeier Hansson2009-02-272-2/+2
| | | | | | | | state:resolved]
* | Skip console test when using minitestJeremy Kemper2009-02-271-20/+22
| |
* | Skip backtrace filter test when using minitestJeremy Kemper2009-02-271-20/+24
| |
* | Ruby 1.9 compat: limit const_defined?Jeremy Kemper2009-02-271-2/+6
| |
* | Invoke tests with the same rubyJeremy Kemper2009-02-271-1/+2
|/
* Fix test failure introduced by 6099f261ea7c624aa45b47be7573ed1cab7b6b71Jeremy Kemper2009-02-251-1/+2
|
* Test view path loading from the initializer.Manfred Stienstra2009-02-251-2/+26
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Test database middleware loading from the initializer.Manfred Stienstra2009-02-252-10/+50
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Ensure ActiveRecord session store's connections are checked in after each ↵Joshua Peek2009-02-241-1/+15
| | | | request [#1927 state:resolved]
* Put back dispatcher cleanup call in console reload! [#2056 state:resolved]Joshua Peek2009-02-241-0/+1
|
* Merge with docrailsPratik Naik2009-02-2437-1405/+2067
|
* load plugin view_paths to action_mailer view_paths and make action_mailer ↵Sven Fuchs2009-02-224-30/+36
| | | | | | use them [#2031 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Ensure that the app routes file is loaded even when engines are in play ↵David Heinemeier Hansson2009-02-221-1/+1
| | | | (Thjis) [#1970 state:committed]
* break out of initializer early if gems aren't loaded [#1750 state:resolved]Matt Jones2009-02-202-3/+7
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Move development mode reloading up the stack to avoid issues with class ↵Joshua Peek2009-02-202-3/+2
| | | | reloading in middleware
* Fix templates reloading in development when using custom view path [#2012 ↵Joshua Peek2009-02-191-1/+1
| | | | state:resolved]
* Properly skip fcgi tests if the gem is not installedJoshua Peek2009-02-162-5/+11
|
* Ensure template_runner can run script/* ruby scripts under Windows. [#1859 ↵unknown2009-02-162-5/+21
| | | | | | state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Fix loader's LoadError exception message to mention missing plugins and omit ↵Oshoma Momoh2009-02-132-1/+21
| | | | | | | | | loaded plugins. Prior to this change the LoadError message listed all plugins if any one of them was missing. Signed-off-by: Michael Koziarski <michael@koziarski.com> [#1921 state:committed]
* Changed scaffold generated controller tests to use #to_param.Pat Nakajima2009-02-131-4/+4
| | | | | | | | Before, the generated controller tests were calling #id, which can change over time, making for brittle tests. Signed-off-by: Michael Koziarski <michael@koziarski.com> [#1913 state:committed]
* Port fast reloadable templates from rails-dev-boost.thedarkone2009-02-123-4/+5
|
* Fix some edge cases when the same template is called with different local ↵Andrew White2009-02-101-4/+2
| | | | | | assigns Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Fixes a typo in initializer.rb producing error: undefined local variable or ↵Gaspard Bucher2009-02-101-1/+1
| | | | method `view_path'.
* Still need to setup view pathsJoshua Peek2009-02-091-0/+12
|
* Improve view rendering performance in development mode and reinstate ↵Andrew White2009-02-092-13/+1
| | | | | | template recompiling in production [#1909 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>