Commit Graph

4322 Commits

Author SHA1 Message Date
Rizwan Reza
de2b0147d0 Reapply Rizwan's patch, but memoize Bundler.load.specs in an ivar. [#3697 state:resolved]
Signed-off-by: wycats <wycats@gmail.com>
2010-03-28 17:42:53 -07:00
wycats
c99194c7be Merge remote branch 'rizwan/restrict' 2010-03-28 11:06:46 -07:00
Xavier Noria
76f024ac8d adds missing requires for Object#blank? and Object#present? 2010-03-28 14:15:02 +02:00
Rizwan Reza
835f5d0269 Rails 3 application can run performance tests now. [#4171 state:resolved] 2010-03-28 15:03:25 +04:30
watsonian
edd59b7bb9 Fixes typo in environments/production.rb template. 2010-03-27 19:02:05 -07:00
José Valim
140cc9caf6 Do not check for a valid const name in Rails 3.0 applications. [#4200 state:resolved] 2010-03-27 10:46:17 +01:00
wycats
56a86c2191 Make X-Sendfile default to "" so it works correctly in dev mode.
Provide a default in production.rb that can be modified, so that
people who care about sendfile performance in production mode can
get better performance easily.
2010-03-26 16:58:55 -07:00
wycats
197904341f Merge branch 'master' into docrails 2010-03-26 15:10:24 -07:00
José Valim
b3a0aed028 Just assert for 'Hi' in generated mailer tests. 2010-03-26 20:25:54 +01:00
José Valim
395d6648ce Move application configuration to the application configuration object, remove railtie_name and engine_name and allow to set the configuration object. 2010-03-26 18:47:55 +01:00
José Valim
fc266d7ec2 Revert "find railties and engines by name [4264 state:resolved]"
This reverts commit 7b8399b80cfff58cfe2313187ca3c803de8c8955.
2010-03-26 16:12:35 +01:00
Edgars Beigarts
0848c862f0 Make script/dbconsole work with oracle (sqlplus <username>[/<password>][@<connect_identifier>])
[#3773 state:resolved]
2010-03-26 15:54:04 +01:00
José Valim
f5ee855f43 Improve heuristic for railties default name, otherwise railties may be named :railtie, :engine and so on. 2010-03-26 14:41:48 +01:00
Josh Susser
7b8399b80c find railties and engines by name [4264 state:resolved]
Signed-off-by: José Valim <jose.valim@gmail.com>
2010-03-26 14:25:45 +01:00
Rizwan Reza
94381b2d5a Routes guide being rewritten, done till :singular. 2010-03-25 04:04:19 +04:30
Brian Doll
3807db8e99 Fixing spelling error in activerecord guide in the validation callbacks section, closing issue #2 2010-03-24 09:29:55 -07:00
wycats
45e8cf59df init.rb in plugins is here to stay 2010-03-23 16:35:14 -07:00
José Valim
5c41cb77d9 Ensure lib/rails/initializers/*.rb also works for gems. 2010-03-23 23:50:53 +01:00
Joshua Peek
e47a1d7865 Load plugin initializers from lib/rails/initializers/*.rb 2010-03-23 15:36:32 -05:00
José Valim
b9f551ac15 Explicitly require files before monkey patching them. 2010-03-23 17:48:29 +01:00
Sebastian Martinez
a5e98d7067 updated Rakefile with new app generator path [#4258 state:resolved]
Signed-off-by: José Valim <jose.valim@gmail.com>
2010-03-23 17:35:19 +01:00
Sebastian Martinez
10825be40b rake tasks should use the new app generator path [#4257 state:resolved]
Signed-off-by: José Valim <jose.valim@gmail.com>
2010-03-23 14:26:27 +01:00
José Valim
05ec99eed9 bin/rails should use the new app generator path. 2010-03-23 14:12:58 +01:00
José Valim
b61f6f5980 Load generators from both lib/rails/generators and lib/generators. Using the former since it's less obstrusive. 2010-03-23 13:40:41 +01:00
Xavier Noria
926ff0e0a1 AS guide: documents Module#remove_possible_method 2010-03-23 00:19:17 +01:00
wycats
0b16c7602d No -rubygems needed 2010-03-22 14:17:49 -07:00
wycats
d03af48a7d Provide a better error if thor is missing 2010-03-22 14:09:00 -07:00
José Valim
e8a80cdded Controller generators should use routes shortcut. 2010-03-22 21:07:37 +01:00
José Valim
fb89aba8b4 Killing fixtures in mailer before they kill me (they usually lead to very brittle tests). 2010-03-22 21:07:37 +01:00
Jeremy Kemper
4884f28c80 Also revert mailer generator test changes in 8b50f89 2010-03-21 16:18:32 -07:00
Jeremy Kemper
49416550fe Fix regression introduced in 8b50f89. Generated views mentioned the wrong path. 2010-03-21 16:07:21 -07:00
Sebastian Martinez
0137566c85 do not support 'data-url' anymore, just use 'href' [#4236 state:resolved]
Signed-off-by: José Valim <jose.valim@gmail.com>
2010-03-21 19:31:54 +01:00
José Valim
8b50f89ba7 Make ERB generators more flexible and customizable. 2010-03-21 19:30:42 +01:00
Joshua Peek
87db863fa2 Remove invalid builtin tests since we aren't adding that dir to the
load path anymore
2010-03-20 15:14:59 -05:00
Joshua Peek
fcc6b12e77 Autoload Rails::Info 2010-03-20 14:03:43 -05:00
Joshua Peek
14b7452c57 Require info controller from info routes 2010-03-20 13:33:25 -05:00
Joshua Peek
f38e89cfba Move railties/builtin into lib 2010-03-20 12:34:21 -05:00
Sam Ruby
80095c54bd Controller generators should generate tests when action is supplied. [#3421 state:resolved] 2010-03-20 00:51:56 +01:00
Xavier Noria
dea701bd2c normalizes titles of release notes guides, and adds them to the home page 2010-03-19 21:49:48 +01:00
Xavier Noria
02be581f45 s/guides.rails.info/edgeguides.rubyonrails.org/ in a few places, and makes some links relative to work in either site 2010-03-19 21:39:42 +01:00
Carlhuda
7f53dca1a1 Fix protect_against_forgery 2010-03-19 11:11:02 -07:00
José Valim
562154fcbc Controller generator now creates routes as well [#4233 state:resolved] 2010-03-19 18:12:54 +01:00
Sebastian Martinez
b395c81e3c removed useless require line
Signed-off-by: José Valim <jose.valim@gmail.com>
2010-03-19 11:08:06 +01:00
Xavier Noria
61f6749fb7 guides generator skips untouched guides by default, override with ALL=1 2010-03-17 23:03:48 +01:00
José Valim
7a5da21481 Use human_name in scaffold. 2010-03-17 00:09:43 +01:00
Xavier Noria
b6edffa640 AS guide: completes section about loading AS core extensions within a Rails application 2010-03-16 23:38:08 +01:00
Xavier Noria
f9edf89d57 AS guide: adds extension to file name 2010-03-16 22:52:39 +01:00
José Valim
0db68fd140 Change functional tests to make use of a setup block. 2010-03-16 16:53:54 +01:00
Chris Griego
0f504a5646 Deprecated framework rake tasks should exit with non-zero exit code [#4177 status:resolved]
Signed-off-by: José Valim <jose.valim@gmail.com>
2010-03-16 11:10:30 +01:00
Xavier Noria
9209f7bafc guides generation: undoes output buffer workaround, more refactors 2010-03-15 22:06:27 +01:00