Commit Graph

15704 Commits

Author SHA1 Message Date
Carl Lerche
ab281f511c Fix class_attribute so that it works with singleton classes. 2010-04-01 17:18:42 -07:00
David Heinemeier Hansson
f0364d87f0 Release is today, yo v3.0.0.beta2 v3.0.0.beta.2 2010-04-01 14:20:03 -07:00
wycats
c1883e75b3 Updated changelogs to differentiate beta1 and beta2 2010-04-01 14:04:55 -07:00
wycats
d2a48852a1 Updated changelogs 2010-04-01 13:55:06 -07:00
David Heinemeier Hansson
46aee9f1f0 Bump this guy too 2010-04-01 13:47:48 -07:00
David Heinemeier Hansson
d956003fa4 Neat and tidy, I say 2010-04-01 13:46:04 -07:00
David Heinemeier Hansson
9b71c55d3d Make your bed and clean up your gemspecs! 2010-04-01 13:44:09 -07:00
David Heinemeier Hansson
86473b454a Not needed with RubyGems 1.3.6 2010-04-01 13:41:23 -07:00
David Heinemeier Hansson
d868cb4f8a Prep for beta2, depend on latest Bundler 2010-04-01 13:36:45 -07:00
Doug Richardson
e8292abbcd Read postgresql encoding using string key instead of symbol [#4304 state:resolved]
Signed-off-by: wycats <wycats@gmail.com>
2010-04-01 08:36:57 -07:00
Bernardo de Pádua
81e6933246 Fix error in number_with_precision with :significant option and zero value [#4306 state:resolved]
Signed-off-by: José Valim <jose.valim@gmail.com>
2010-04-01 07:25:14 +02:00
Jeremy Kemper
3859828d89 HTML safety: give a deprecation warning if an array of option tags is passed to select tag. Be sure to join the tag yourself and mark them .html_safe 2010-03-31 19:51:54 -07:00
Jeremy Kemper
8dfa27669b Missed __FILE__ 2010-03-31 17:27:39 -07:00
Ernie Miller
98bf00d50d Add tests for postgresql column type mapping updates [#4270 state:resolved]
Signed-off-by: Emilio Tagua <miloops@gmail.com>
2010-03-31 19:22:54 -03:00
Ernie Miller
ccf8311123 Fix mapping of bigint/smallint/uuid columns in postgresql adapter.
Signed-off-by: Emilio Tagua <miloops@gmail.com>
2010-03-31 19:22:44 -03:00
Jeremy Kemper
b3980af8d1 To skip bundler, rm Gemfile. Create a Gemfile to use it again. 2010-03-31 13:56:44 -07:00
Joshua Peek
fc3a39b599 Add --skip-bundler option to rails application generator
NOTE: This does not fix the bundler activation issue. The "bundler"
gem will still be installed and activated when you install rails.
2010-03-31 14:11:51 -05:00
Ravinder Singh
db28d407f7 Create tmp directories if required before starting server [#3907 state:resolved]
Signed-off-by: José Valim <jose.valim@gmail.com>
2010-03-31 16:02:59 +02:00
José Valim
05337f61f9 yield always return an array, so we don't need to use .key? 2010-03-31 16:02:59 +02:00
Pratik Naik
5562abb4e9 Dont try to load the record from the db if preloading didn't find anything 2010-03-31 12:56:09 +01:00
Xavier Noria
607f945b1d adds missing require for blank? and present? 2010-03-31 04:40:51 -07:00
José Valim
62151dd272 Deprecate cookie_verifier_secret in favor of config.cookie_secret allowing signed cookies to work again. 2010-03-31 12:59:41 +02:00
Santiago Pastorino
c10958fbdd avoid method redefined; discarding old empty? warning [#4302 state:committed]
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
2010-03-30 16:59:48 -07:00
Santiago Pastorino
7d0eea179b Don't cache the utc_offset we are already caching the timezone [#4301 state:committed]
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
2010-03-30 16:36:16 -07:00
Xavier Noria
1412ad437e adds and entry for assert_blank and assert_present to CHANGELOG 2010-03-30 15:54:20 -07:00
Juanjo Bazan
589deb39c7 New assertion: assert_present [#4299 state:committed]
Signed-off-by: Xavier Noria <fxn@hashref.com>
2010-03-30 15:25:38 -07:00
Juanjo Bazan
7212c29802 new assertion: assert_blank
Signed-off-by: Xavier Noria <fxn@hashref.com>
2010-03-30 15:25:38 -07:00
José Valim
772a0226fd Add a test which ensures slugs in :id work. 2010-03-31 00:19:40 +02:00
Joshua Peek
53e16d8011 Missed a few spots in railties 2010-03-30 14:18:08 -05:00
Joshua Peek
cdf8c35ffd Consistent routing language 2010-03-30 14:05:42 -05:00
Joshua Peek
17f0c1e9e8 Fix stack overflow bug in integration test router helpers 2010-03-30 13:58:18 -05:00
Emilio Tagua
37102a5237 Fix failing test in MySQL.
Signed-off-by: José Valim <jose.valim@gmail.com>
2010-03-30 16:01:53 +02:00
Emilio Tagua
8d99ec9a4d Named scopes shouldn't test equality using to_a if it's not an Array, this was causing records to be loaded before they were needed.
Signed-off-by: José Valim <jose.valim@gmail.com>
2010-03-30 15:36:18 +02:00
José Valim
41b45d5655 Bring rdoc tasks back to plugins. 2010-03-30 14:41:58 +02:00
José Valim
ffcd44144a Remove deprecated model_subclass since it was never published. 2010-03-30 14:41:58 +02:00
Xavier Noria
ce3864aa36 periods are not metacharacters within character classes 2010-03-30 01:55:06 -07:00
José Valim
ebcc4c5e74 Remove if/else branch when generating the documentation since we are simply inspecting the load path. 2010-03-30 10:00:46 +02:00
postmodern
f9e84a9e5a Changed gem_path to yield the path found in $LOAD_PATH to a block.
* This allows gems not found in $LOAD_PATH to be safely ignored by the
  rails documentation task.

Signed-off-by: José Valim <jose.valim@gmail.com>
2010-03-30 09:58:39 +02:00
Michael Koziarski
bc298152f8 Fix syntax error and avoid the use of unless/else. 2010-03-30 14:31:16 +13:00
wycats
4aded43b73 Replace the placeholder base_hook API with on_load. To specify some code that
should run during framework load do:

ActiveSupport.on_load(:action_controller) do
  # Code run in the context of AC::Base
end
2010-03-29 17:08:50 -07:00
José Valim
331327d391 Just inspect load paths to generate the documentation. 2010-03-30 01:34:06 +02:00
José Valim
56bed512f9 Fix dom_id for ActiveRecord [#4296 state:resolved] 2010-03-30 01:32:26 +02:00
wycats
b94c4080e5 Revert "Ruby 1.9: use ruby-debug19. [#3949 state:resolved]"
This wasn't the issue here; we need to beef up the docs and speak to
Wayne and Mark about installation.

This reverts commit da238dafd7.
2010-03-30 01:32:26 +02:00
Jeremy Kemper
4fbcde43e3 Ruby 1.9: use ruby-debug19. [#3949 state:resolved] 2010-03-30 01:32:26 +02:00
Jeremy Kemper
af8852d1ad Work without bundler 2010-03-29 16:25:52 -07:00
Jeremy Kemper
e30363617c Revert "Hash#symbolize_keys(!) optimizations"
Was slower in common case.

[#3891 state:open]

This reverts commit 2060977b76.
2010-03-29 15:48:36 -07:00
Ernie Miller
63026541b2 Fix honoring :primary_key option when joining or eager loading a belongs_to association
[#765 state:committed]

Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
2010-03-29 15:24:27 -07:00
wycats
a509b0b18f Revert "Ruby 1.9: use ruby-debug19. [#3949 state:resolved]"
This wasn't the issue here; we need to beef up the docs and speak to
Wayne and Mark about installation.

This reverts commit da238dafd7.
2010-03-29 14:07:12 -07:00
Jeremy Kemper
da238dafd7 Ruby 1.9: use ruby-debug19. [#3949 state:resolved] 2010-03-29 13:59:20 -07:00
José Valim
74efe4c253 Revert "Update USAGE docs for generators."
This reverts commit d31e03f356.
2010-03-29 18:46:04 +02:00