aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib
Commit message (Collapse)AuthorAgeFilesLines
* Cherry-pick core extensions. Don't explicitly require rubygems. Use load ↵Jeremy Kemper2009-09-142-13/+12
| | | | path for vendored thor.
* Ruby 1.9 compat: Avoid using the return value of FileUtils.mkdir_p, as it ↵Akira Matsuda2009-09-111-1/+1
| | | | | | | | does not return a String but an Array in Ruby 1.9 [#2018 state:committed milestone:2.3.5] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Add gem load paths after loading environmentJoshua Peek2009-09-111-9/+9
|
* Vendor the latest version of the bundlerCarl Lerche2009-09-0330-811/+1389
|
* Make Sam Ruby's test suite happyYehuda Katz2009-09-011-0/+4
|
* Initializer middleware helper needs to require actioncontrollerJoshua Peek2009-08-311-0/+1
|
* Merge commit 'jose/generators'Yehuda Katz2009-08-312-3/+3
|\
| * Change div.attribute to div.field and add some _form to tests.José Valim2009-08-302-3/+3
| |
* | Changing plugin loader to use blocks instead of Symbol#to_proc to ensure ↵Jay Pignata2009-08-301-1/+3
| | | | | | | | | | | | | | | | tests run without activesupport [#3118 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* | I18n support for pluginsAntonio Tapiador del Dujo2009-08-302-0/+19
|/ | | | | | | | | | Rails will now automatically add locale files found in any engine's locale directory to the I18n.load_path (i.e. files that match the glob pattern "config/locales/**/*.{rb,yml}" relative to engine directories). [#2325 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Ensure scaffold works properly even if plural name is given. [#3062]José Valim2009-08-308-81/+137
|
* Remove inline css. [#593 status:resolved]José Valim2009-08-302-1/+5
|
* Change scaffold to use _form as partial and div's instead of paragraphs. ↵José Valim2009-08-306-31/+25
| | | | [#1760 status:resolved]
* Rails templates git command runs inside another directory [#2466 ↵David Calavera2009-08-301-7/+5
| | | | | | status:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* Fix spelling in Rails 'generator' generator. [#3080 status:resolved]Rodrigo Rosenfeld Rosas2009-08-301-1/+1
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Update vendored thor.José Valim2009-08-3031-73/+138
|
* Prefer utf8_unicode_ci (better) over utf8_general_ci (faster)Jeremy Kemper2009-08-271-1/+1
|
* Remove support for SQLite 2.Pratik Naik2009-08-172-20/+1
| | | | If you're still using it, please install the plugin from git://github.com/rails/sqlite2_adapter.git
* Use less strict rules in generators lookup, so people can lay their ↵José Valim2009-08-102-56/+35
| | | | generators wherever they want.
* find_cmd should return the full path of the db commandKamal Fariz Mahyuddin2009-08-101-4/+8
| | | | | | [#1488 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Only load db/schema.rb if it exists; otherwise, display a message to run ↵Joshua Nichols2009-08-091-1/+5
| | | | | | | | db:migrate or remove active_record in environment.rb. [#3012 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Require test/unit in the generated test_helper for plugin [#1878 state:resolved]jastix2009-08-091-1/+3
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Refactored create_migration on model generator.José Valim2009-08-092-7/+3
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Fixed generating a namespaced model with table pluralization turned off. Add ↵Hugo Peixoto2009-08-092-2/+5
| | | | | | | | tests for namespaced model generation. [#767 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Add a .tmp pathYehuda Katz2009-08-091-1/+2
|
* Use Pathname for checking if sqlite path is absolutePratik Naik2009-08-091-1/+5
|
* Make sure db:drop doesn't fail when sqlite db is given by an absolute path ↵bastilian2009-08-091-1/+1
| | | | | | [#1789 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Depend on rubygems 1.3.2Michael Koziarski2009-08-091-1/+1
| | | | Also move the min_version definition up a line so it's present in the rescue block down below.
* Users can now pass :branch for git plugins and :revision for subversion pluginsMatt Duncan2009-08-081-1/+10
| | | | | | [#2352 status:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* Improved coverage for session_migration generator. [#3008 status:resolved]José Valim2009-08-081-1/+1
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Fixed reference to AR::SessionStore::Session.table_name in session migrationsElad Meidar2009-08-082-2/+6
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Ensure db:drop:all doesn't error out on exception [#2997 state:resolved] ↵Pratik Naik2009-08-081-2/+6
| | | | [Anthony Caliendo]
* Add rake db:forward - opposite of db:rollback [#768 state:resolved]Cristi Balan2009-08-081-0/+7
| | | | | | | | Example: rake db:forward # performs the next migration rake db:forward STEP=4 # performs the next 4 migrations Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Added rubygems to generators load_paths, but we only load generators from ↵José Valim2009-08-081-21/+43
| | | | gems that are alraedy activated. This fixes the version problem and avoid silly conflicts.
* Rename Rails::Generators::ActionORM to Rails::Generators::ActiveModel.José Valim2009-08-083-14/+14
|
* Add option to routes task to target a specific controller with CONTROLLER=x.Mike Breen2009-08-081-3/+4
| | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com> [#2928 state:committed]
* Allow rails templates relative to the current path to be given.José Valim2009-08-071-3/+18
|
* Updated vendored thor to 0.11.5José Valim2009-08-0736-354/+312
|
* Dont require thin as the thin rack adapter is now upstreamJames Tucker2009-08-051-7/+0
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Removed default_internal, which was preventing round-tripping of some encodings.Yehuda Katz2009-07-301-1/+0
|
* Generator config should be commented by defaultPratik Naik2009-07-301-5/+5
|
* Remove whitespaces from the default mailer filePratik Naik2009-07-301-2/+1
|
* Always use application generator to run templates.José Valim2009-07-282-2/+1
|
* Merge branch 'master' of git://github.com/rails/railsJosé Valim2009-07-282-2/+8
|\
| * make pass through error code configurable [#2817 state:resolved]John Duff2009-07-221-1/+7
| | | | | | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* | Ensure that developers options are overwritten by user options.José Valim2009-07-281-17/+21
| |
* | Allow templates for non namespaced generators too.José Valim2009-07-251-1/+5
| |
* | Updated vendored thor to 0.11.3.José Valim2009-07-2335-81/+92
| |
* | Do not try to use thor gem.José Valim2009-07-232-10/+1
| |
* | Solving merge conflicts.José Valim2009-07-2129-10/+950
|\|