Joshua Peek
c2f8b4e92f
Remove dead requries to AC integration. Rely on autoloads instead
2009-09-24 09:41:46 -05:00
Mike Gunderloy
3600c3840e
More places to bump rack-test version [ #3250 state:resolved]
...
Signed-off-by: Joshua Peek <josh@joshpeek.com>
2009-09-23 09:21:44 -05:00
Jeremy Kemper
d58ee23008
Require rubygems in generators test so Action Dispatch can find rack
2009-09-14 13:04:43 -07:00
Jeremy Kemper
4b8576a0c6
Style bikeshed: prefer obvious string paths with / separator to args lists with ', ' separator
2009-09-14 13:04:43 -07:00
Jeremy Kemper
697dda5f29
Fix deprecated gem-name requires
2009-09-14 13:04:43 -07:00
Jeremy Kemper
70d2640700
Cherry-pick core extensions. Don't explicitly require rubygems. Use load path for vendored thor.
2009-09-14 13:04:43 -07:00
Akira Matsuda
3ce16b4c5f
Ruby 1.9 compat: Avoid using the return value of FileUtils.mkdir_p, as it 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>
2009-09-11 19:20:57 -07:00
Joshua Peek
72721c6725
Add gem load paths after loading environment
2009-09-11 10:31:31 -05:00
Carl Lerche
f416f9f0ae
Vendor the latest version of the bundler
2009-09-03 09:31:04 -07:00
Yehuda Katz
847907d753
Make Sam Ruby's test suite happy
2009-09-01 19:37:49 -07:00
Carl Lerche
bd53ebde72
Add required dependencies on activemodel
2009-09-01 12:26:00 -07:00
Carl Lerche
016b1d3596
Merge branch 'master' of git@github.com:rails/rails
2009-09-01 12:19:09 -07:00
Joshua Peek
ad49895fe8
Railties test helpers need to activate rack gem
2009-09-01 10:05:17 -05:00
Geoff Buesing
cc1efe7e5a
Rails::Info doesn't require version for unwanted frameworks
...
[#3124 state:committed]
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
2009-09-01 02:29:22 -07:00
Joshua Peek
14870257c1
Initializer middleware helper needs to require actioncontroller
2009-08-31 21:09:39 -05:00
Yehuda Katz
67f5d611f5
Add rake gemspec and gemspecs to the repo
2009-08-31 17:20:44 -07:00
Yehuda Katz
7e3abbfdc2
Merge commit 'jose/generators'
2009-08-31 11:07:37 -07:00
Jay Pignata
57f7308da4
Changing plugin loader to use blocks instead of Symbol#to_proc to ensure tests run without activesupport
...
[#3118 state:committed]
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
2009-08-30 17:01:59 -07:00
Antonio Tapiador del Dujo
cf4846c6ae
I18n support for plugins
...
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>
2009-08-30 13:36:22 -07:00
José Valim
d8d83e7821
Change div.attribute to div.field and add some _form to tests.
2009-08-30 18:49:54 +02:00
José Valim
0efedf2a30
Ensure scaffold works properly even if plural name is given. [ #3062 ]
2009-08-30 17:58:20 +02:00
José Valim
5096ba961c
Remove inline css. [ #593 status:resolved]
2009-08-30 17:04:16 +02:00
José Valim
5d645c271b
Change scaffold to use _form as partial and div's instead of paragraphs. [ #1760 status:resolved]
2009-08-30 16:53:23 +02:00
David Calavera
0fc5c59b37
Rails templates git command runs inside another directory [ #2466 status:resolved]
...
Signed-off-by: José Valim <jose.valim@gmail.com>
2009-08-30 16:25:07 +02:00
Rodrigo Rosenfeld Rosas
0f9675a872
Fix spelling in Rails 'generator' generator. [ #3080 status:resolved]
...
Signed-off-by: José Valim <jose.valim@gmail.com>
2009-08-30 16:18:21 +02:00
José Valim
72c6ea1022
Update vendored thor.
2009-08-30 16:16:53 +02:00
Carl Lerche
22d5e3d89d
Make sure all needed files get added to the rails gem
2009-08-29 10:13:52 -05:00
Jeremy Kemper
f6ca7e4e75
Prefer utf8_unicode_ci (better) over utf8_general_ci (faster)
2009-08-27 23:07:43 -07:00
Pratik Naik
25e5b0c4a8
Remove support for SQLite 2.
...
If you're still using it, please install the plugin from git://github.com/rails/sqlite2_adapter.git
2009-08-17 14:54:34 +01:00
José Valim
5f7cfffc53
Use less strict rules in generators lookup, so people can lay their generators wherever they want.
2009-08-10 18:29:20 +02:00
Kamal Fariz Mahyuddin
600a89f208
find_cmd should return the full path of the db command
...
[#1488 state:committed]
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
2009-08-10 00:04:37 -07:00
Joshua Nichols
84d24cdae8
Only load db/schema.rb if it exists; otherwise, display a message to run db:migrate or remove active_record in environment.rb.
...
[#3012 state:committed]
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
2009-08-09 20:18:56 -07:00
jastix
a1c289dbe4
Require test/unit in the generated test_helper for plugin [ #1878 state:resolved]
...
Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
2009-08-09 17:56:41 +01:00
José Valim
1ea7a00bc4
Refactored create_migration on model generator.
...
Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
2009-08-09 15:57:59 +01:00
Hugo Peixoto
22b38c18c6
Fixed generating a namespaced model with table pluralization turned off. Add tests for namespaced model generation.
...
[#767 state:committed]
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
2009-08-09 02:38:35 -07:00
Yehuda Katz
60219a13da
Add a .tmp path
2009-08-09 05:52:49 -03:00
Pratik Naik
89c8affe47
Use Pathname for checking if sqlite path is absolute
2009-08-09 01:54:08 +01:00
bastilian
071f48b716
Make sure db:drop doesn't fail when sqlite db is given by an absolute path [ #1789 state:resolved]
...
Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
2009-08-09 01:54:08 +01:00
Michael Koziarski
df745ed805
Depend on rubygems 1.3.2
...
Also move the min_version definition up a line so it's present in the rescue block down below.
2009-08-09 11:11:34 +12:00
Matt Duncan
bee3e099bd
Users can now pass :branch for git plugins and :revision for subversion plugins
...
[#2352 status:resolved]
Signed-off-by: José Valim <jose.valim@gmail.com>
2009-08-08 23:42:18 +01:00
José Valim
3ea091e1cc
Improved coverage for session_migration generator. [ #3008 status:resolved]
...
Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
2009-08-08 23:42:18 +01:00
Elad Meidar
c0f828ca4f
Fixed reference to AR::SessionStore::Session.table_name in session migrations
...
Signed-off-by: José Valim <jose.valim@gmail.com>
2009-08-08 23:42:18 +01:00
Pratik Naik
ed8a0a1c23
Ensure db:drop:all doesn't error out on exception [ #2997 state:resolved] [Anthony Caliendo]
2009-08-08 17:53:51 +01:00
Cristi Balan
7f84f14efa
Add rake db:forward - opposite of db:rollback [ #768 state:resolved]
...
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>
2009-08-08 17:41:43 +01:00
José Valim
016ed9b429
Added rubygems to generators load_paths, but we only load generators from gems that are alraedy activated. This fixes the version problem and avoid silly conflicts.
2009-08-08 17:48:07 +02:00
José Valim
469d89dd44
Rename Rails::Generators::ActionORM to Rails::Generators::ActiveModel.
2009-08-08 17:48:07 +02:00
Mike Breen
e8dc151396
Add option to routes task to target a specific controller with CONTROLLER=x.
...
Signed-off-by: Michael Koziarski <michael@koziarski.com>
[#2928 state:committed]
2009-08-08 14:38:33 +12:00
José Valim
55575e2165
Allow rails templates relative to the current path to be given.
2009-08-07 17:17:51 +02:00
José Valim
c44f7e39f4
Updated vendored thor to 0.11.5
2009-08-07 17:16:15 +02:00
James Tucker
b7052b8dc3
Dont require thin as the thin rack adapter is now upstream
...
Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
2009-08-05 23:00:33 +01:00