Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Enhanced Rails.root to take parameters that'll be join with the root, like ↵ | David Heinemeier Hansson | 2008-11-29 | 1 | -0/+10 |
| | | | | Rails.root('app', 'controllers') => File.join(Rails.root, 'app', 'controllers') [#1482 state:committed] (Damian Janowski) | ||||
* | Added view path support for engines [DHH] | David Heinemeier Hansson | 2008-11-27 | 2 | -112/+118 |
| | |||||
* | Added that config/routes.rb files in engine plugins are automatically loaded ↵ | David Heinemeier Hansson | 2008-11-26 | 6 | -1/+12 |
| | | | | (and reloaded when they change in dev mode) [DHH] | ||||
* | Added app/[models|controllers|helpers] to the load path for plugins that has ↵ | David Heinemeier Hansson | 2008-11-26 | 2 | -10/+23 |
| | | | | an app directory (go engines ;)) [DHH] | ||||
* | Explicitly require AS::Deprecation for the SecretKeyGenerator. Bring in ↵ | Jeremy Kemper | 2008-11-24 | 1 | -1/+1 |
| | | | | ActiveSupport::TestCase for its tests. | ||||
* | Skip fcgi dispatcher tests if fcgi lib isn't available | Jeremy Kemper | 2008-11-24 | 1 | -3/+4 |
| | |||||
* | Explicitly require action_view to bring in its i18n load path | Jeremy Kemper | 2008-11-24 | 1 | -0/+3 |
| | |||||
* | Rename Rails::Info.components to frameworks | Jeremy Kemper | 2008-11-24 | 1 | -5/+5 |
| | |||||
* | Accept a prefix argument to filter_backtrace_with_cleaning [#1456 ↵ | Manfred Stienstra | 2008-11-24 | 2 | -1/+30 |
| | | | | | | | | | state:committed] Add a prefix argument to filter_backtrace_with_cleaning so it has the same arity as test/unit's filter_backtrace. Signed-off-by: David Heinemeier Hansson <david@loudthinking.com> | ||||
* | Require Mocha >= 0.9.3 which includes a MiniTest adapter | Jeremy Kemper | 2008-11-23 | 1 | -6/+3 |
| | |||||
* | Reflect default locale change from en-US to en | Jeremy Kemper | 2008-11-19 | 1 | -3/+3 |
| | |||||
* | Added config.i18n settings gatherer to config/environment, auto-loading of ↵ | David Heinemeier Hansson | 2008-11-18 | 1 | -2/+47 |
| | | | | all locales in config/locales/*.rb,yml, and config/locales/en.yml as a sample locale [DHH] | ||||
* | Add helper test generators [#1199 state:resolved] | Eugene Bolshakov | 2008-11-17 | 5 | -27/+83 |
| | | | | Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | Appropriate test case subclasses to get assert_tag and assert_deprecated | Jeremy Kemper | 2008-11-15 | 2 | -2/+2 |
| | |||||
* | Really silence spec warnings when running GemDependency tests [#1308 ↵ | Jeffrey Hardy | 2008-10-31 | 1 | -3/+2 |
| | | | | | | state:resolved] Signed-off-by: David Heinemeier Hansson <david@loudthinking.com> | ||||
* | Don't include the path when checking class collisions [#545 state:resolved] | Joshua Peek | 2008-10-13 | 1 | -0/+3 |
| | |||||
* | Make VendorGemSourceIndex handle broken/missing specs generated by previous ↵ | Matt Jones | 2008-10-13 | 4 | -0/+50 |
| | | | | | | versions. Signed-off-by: Michael Koziarski <michael@koziarski.com> | ||||
* | Fix a number of errors in the config.gem mechanism. | Matt Jones | 2008-10-05 | 11 | -5/+189 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Rails::GemDependency was missing definitions for hash and eql?, causing Array#uniq to not work. * If several versions of a gem are unpacked in vendor, now chooses the highest if no version is specified. * streamlined add_load_path. Now sets up Rubygems correctly to allow 'gem' to find frozen gems, with gems frozen to vendor/gems and specifications in vendor/gems/<gem-name>/.specification * Rails::GemDependency#specification would return a spec for the highest installed version, even for frozen gems and/or previously loaded lower versions. See in part ticket #1123. * removed vendor from default_load_paths - it was causing autoloading to append Gems::Gems::<gem-dir> to constant names * added additional tests for loading frozen gems. * incorporates the fix from #1107 for vendor rails * defers to freeze:gems for handling the Rails framework. gems:unpack WILL NOT place a copy of Rails in vendor/gems. Should close #1123 completely. * incorporates, via using the gem loader for frozen gems, fixes corresponding to #227, #324, #362, #527, and #742. * gem plugins now work the same whether frozen or not. Correctness of the behavior is a matter for another ticket... Signed-off-by: rick <technoweenie@gmail.com> | ||||
* | Partially revert 185fe2e9cce737d69d3b47a656f3651ce152c0c1 | Michael Koziarski | 2008-09-24 | 1 | -1/+1 |
| | | | | We shouldn't quote the unpack command's requirement as it's passed through GemRunner which takes care of it for us. | ||||
* | Prevent deprecation warning in the tests | Michael Koziarski | 2008-08-28 | 1 | -1/+3 |
| | |||||
* | Deprecate Rails::SecretKeyGenerator in favor of ActiveSupport::SecureRandom. | Hongli Lai (Phusion | 2008-08-27 | 1 | -8/+0 |
| | | | | | | | SecureRandom has a few minor security enhancements and can be used as a drop-in replacement Signed-off-by: Michael Koziarski <michael@koziarski.com> [#913 state:committed] | ||||
* | The 'rails' command was broken by the last commit. Fix that. | Hongli Lai (Phusion | 2008-08-26 | 1 | -1/+7 |
| | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com> | ||||
* | When an unexpected exception is caught, tell the administrator to read the ↵ | Hongli Lai (Phusion | 2008-08-26 | 1 | -0/+37 |
| | | | | | | log file for more information about the error. This should make things less confusing for developers who are new to Rails. Signed-off-by: Michael Koziarski <michael@koziarski.com> | ||||
* | Generate belongs_to association when generating a model | Tarmo Tänav | 2008-08-23 | 1 | -0/+8 |
| | |||||
* | Generate belongs_to associations automatically for 'references' types [#640 ↵ | Tarmo Tänav | 2008-08-23 | 1 | -0/+8 |
| | | | | state:resolved] | ||||
* | Initializer to sort files before eager loading. [#859 state:resolved] | Tom Ward | 2008-08-22 | 3 | -0/+23 |
| | | | | | | | | Changed Rails::Initializer to sort files before eager loading them. This ensures that any files in a parent directory will be loaded before files in a subdirectory of the 'same' name. i.e. zoo.rb will be loaded before zoo/reptile_house.rb Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Make requiring gems optional. | Ben Sandofsky | 2008-08-04 | 1 | -0/+9 |
| | | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com> [#743 state:resolved] | ||||
* | Check for ActionMailer and ActionController before attempting to eager load ↵ | Sam Granieri | 2008-07-24 | 1 | -1/+20 |
| | | | | | | their view paths Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | Stub out timestamped_migrations in generator tests | Joshua Peek | 2008-07-19 | 1 | -1/+2 |
| | |||||
* | Merge with docrails. | Pratik Naik | 2008-07-16 | 1 | -1/+1 |
| | |||||
* | Added tests to show that 2d372d7 breaks old generator behavior (#545 ↵ | Joshua Peek | 2008-07-11 | 1 | -0/+19 |
| | | | | state:resolved) | ||||
* | Warn and uses singularized ModelName if a plural ModelName is given to ↵ | Pat George | 2008-06-27 | 1 | -0/+42 |
| | | | | | | script/generate. Override with --force-plural. [#333 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Fix discrepancies with loading rails/init.rb from gems. [#324 state:resolved] | rick | 2008-06-08 | 1 | -1/+1 |
| | |||||
* | Make plugins initialize also from rails/init.rb to ensure consistency with ↵ | Jacek Becela | 2008-06-08 | 7 | -15/+33 |
| | | | | | | gems used as plugins [#272 state:resolved] | ||||
* | Wrap Initializer after_initialize inside mocha block. | Joshua Peek | 2008-06-07 | 1 | -48/+48 |
| | |||||
* | Fix that Rails::InfoController tests | Pratik Naik | 2008-06-05 | 1 | -0/+4 |
| | |||||
* | Fixed deprecated call to Dependencies in plugin loader test. | Joshua Peek | 2008-06-04 | 1 | -4/+4 |
| | |||||
* | Fixed initializer tests by stubbing out gems dependencies check. | Joshua Peek | 2008-06-02 | 1 | -16/+18 |
| | |||||
* | In 9c4f003, gem installation quotes versions. Do the same for unpack and ↵ | Joshua Peek | 2008-06-02 | 1 | -8/+8 |
| | | | | update tests to reflect the change. | ||||
* | Merge docrails. | Pratik Naik | 2008-05-25 | 2 | -31/+31 |
| | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Add some test coverage for RailsControllerGenerator. | Joshua Peek | 2008-05-13 | 2 | -10/+44 |
| | |||||
* | Use .gitignore as the convention for dummy file names. | Joshua Peek | 2008-04-24 | 6 | -0/+0 |
| | |||||
* | Rails Edge info returns the latest git commit hash [#36 state:resolved] | Francesc Esplugas | 2008-04-22 | 1 | -38/+32 |
| | | | | Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | Don't require generator_test_helper in RailsGeneratorTest. | Joshua Peek | 2008-04-21 | 1 | -3/+12 |
| | |||||
* | Add .empty files to empty directories so git preserves them. | Joshua Peek | 2008-04-21 | 6 | -0/+0 |
| | |||||
* | * Remove default_url_options from mailer generator | Cody Fauser | 2008-04-21 | 1 | -3/+3 |
| | | | | | | * Improve mailer documentation regarding generating URLs * Add no_match to mailer generator to warn contributors about default_url_options Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | Add back empty plugin folders that were lost when we moved to git. | Joshua Peek | 2008-04-21 | 4 | -32/+32 |
| | |||||
* | Revert "Update plugin loading tests to reflect changes in plugin fixtures." | Joshua Peek | 2008-04-21 | 3 | -79/+86 |
| | | | | This reverts commit eef9002968609a0d8d4a8006aebcd6f18f993f4a. | ||||
* | Update plugin loading tests to reflect changes in plugin fixtures. | Joshua Peek | 2008-04-21 | 3 | -86/+79 |
| | |||||
* | Gem dependencies don't require a version. Also fixed up failing gem ↵ | Joshua Peek | 2008-04-21 | 1 | -0/+4 |
| | | | | dependency tests. |