Commit Graph

22826 Commits

Author SHA1 Message Date
Aaron Patterson
ad3f0eec75 adding AR::Fixtures::File class to wrap a fixture file 2011-05-23 15:06:12 -07:00
Jon Leighton
1170cceaae Removed ActiveSupport::SecureRandom in favour of SecureRandom from the standard library. (It has been deprecated in the 3-1-stable branch.) 2011-05-23 20:25:44 +01:00
Jon Leighton
d411c85a65 Replace references to ActiveSupport::SecureRandom with just SecureRandom, and require 'securerandom' from the stdlib when active support is required. 2011-05-23 20:25:44 +01:00
José Valim
a5fb1c6175 Merge pull request #1231 from joshk/ruby-debugger
Ruby debugger corrections
2011-05-23 06:48:05 -07:00
José Valim
5c3f3f10ba Merge pull request #1230 from smartinez87/changelog
Add entry to AP changelog
2011-05-23 06:46:32 -07:00
Josh Kalderimis
2514d65ca2 Removed the AS core_ext/kernel/debugger breakpoint method as this method is added by ruby-debug and should be left as is. Missing tests added. 2011-05-23 15:44:48 +02:00
Josh Kalderimis
eff5d9aed4 Removed AS core_ext/kernel/requires as it's not used and is bad practice. 2011-05-23 15:31:33 +02:00
Sebastian Martinez
b4951b53ff Add entry to AP changelog 2011-05-23 10:03:52 -03:00
José Valim
a8b2a895b7 Merge pull request #1228 from fcheung/db_time_fix2
Take into account time spent in AR even if a redirect occurs or if it is after the render
2011-05-23 03:11:15 -07:00
Frederick Cheung
8a722e0912 Take into account time spent in AR even if a redirect occurs or if it is after the render 2011-05-23 10:58:43 +01:00
José Valim
6e5eedeb12 Move content length to the server, this brings the same behavior as in rack 1.2. 2011-05-23 10:28:00 +02:00
José Valim
c944cab6ce Require rubygems (chill out, just for rails internal tests). 2011-05-23 10:28:00 +02:00
Aaron Patterson
78172987cf Merge pull request #1184 from gnufied/master
Fixes connection_not established error while running db:schema:dump
2011-05-23 00:21:13 -07:00
wycats
dd8ab4fda5 Bump Rack version 2011-05-22 23:55:08 -07:00
wycats
72c7aec792 Eliminate uninitialized instance variable warning 2011-05-22 23:39:51 -07:00
wycats
0a587eecc9 Prepare the context in URLHelperTest so that there are no required uninitialized instance variables 2011-05-22 23:38:50 -07:00
José Valim
750194340c Merge pull request #1222 from arunagw/sprockets-fixes
We don't need to load version any more as Sprockets.beta8 is included.
2011-05-22 23:35:55 -07:00
wycats
7b9f3eb10b Always initialize @title in caching test to avoid uninitialized instance variable warning 2011-05-22 23:14:52 -07:00
wycats
ddc584e89e Restructure TemplateAssertions-related code to eliminate circular requires.
Also, no need to include dependencies in AS::Concerns inside included blocks.
2011-05-22 23:13:44 -07:00
wycats
0afefa9504 Make :status an attr_reader to avoid unnecessary warning when replacing status= 2011-05-22 22:34:06 -07:00
Arun Agrawal
531095e64e We don't need to load version any more as Sprockets.beta8 is included. 2011-05-23 07:09:09 +05:30
Joshua Peek
5e519fb015 Merge branch '3-1-stable'
Conflicts:
	actionpack/actionpack.gemspec
	activemodel/activemodel.gemspec
2011-05-22 20:11:36 -05:00
Joshua Peek
7ad24a7d96 Require sprockets beta 8 2011-05-22 20:10:13 -05:00
David Heinemeier Hansson
ba3ea9c90b Revert "Take into account time spent in AR even if a redirect occurs or if it is after the render" because it's causing test failures about missing db_during_render.
This reverts commit 60b55baca9.
2011-05-22 18:10:52 -05:00
David Heinemeier Hansson
7124659f3e Merge pull request #1221 from sikachu/fix_tests
Make sure that we're able to run Action Pack test standalone.
2011-05-22 16:05:36 -07:00
Prem Sichanugrist
90f028a4dc Make sure that we're able to run Action Pack test standalone.
Sprocket was trying to look for these two things:

* `Rails::VERSION::STRING`
* `.initializer(str)` in `Rails::Engine`

This commit added require to version.rb into Abstract Unit, and mocking the `Rails::Engine.initializer` in `sprockets_helper_test.rb`
2011-05-22 19:02:54 -04:00
Jon Leighton
d7a910e31e Fix problem with loading polymorphic associations which have been defined in an abstract superclass. Fixes #552. 2011-05-22 21:25:02 +01:00
Joshua Peek
27159dff0f Add debug_asset support 2011-05-22 15:10:53 -05:00
Joshua Peek
cdc9c3c4af Lock to stable sprockets beta 2011-05-22 14:50:11 -05:00
José Valim
8c19ebe553 Merge pull request #1219 from fcheung/db_time_fix
Take into account time spent in AR even if a redirect occurs or if it is
2011-05-22 12:08:07 -07:00
Frederick Cheung
60b55baca9 Take into account time spent in AR even if a redirect occurs or if it is after the render 2011-05-22 19:49:31 +01:00
José Valim
4ee7d923e1 Merge pull request #1215 from vatrai/remove_require_tzinfo
remove require active_support/tzinfo as file dosent exists #TODO fix
2011-05-22 09:51:54 -07:00
Vishnu Atrai
ab4dbb110d remove require active_support/tzinfo as file dosent exists #TODO fix 2011-05-22 22:08:05 +05:30
José Valim
06474c1553 Merge pull request #1192 from arunagw/removal_extra
No more need rubygems here.
2011-05-22 09:12:27 -07:00
José Valim
ff55924921 Merge pull request #1202 from vatrai/todo_fix
Fix todo Time.xmlschema used instead of Time.parse
2011-05-22 06:05:52 -07:00
Vishnu Atrai
9c9f450e4f require 'time' 2011-05-22 17:16:23 +05:30
José Valim
09fa80dd26 Merge pull request #1193 from arunagw/railties_tests
Loading action_controller twice removed.
2011-05-22 04:40:34 -07:00
José Valim
9164dda151 Fix I18n dependency as final is out. 2011-05-22 13:39:13 +02:00
José Valim
62d9c831be Depend on I18n ~> 0.6 2011-05-22 13:38:00 +02:00
José Valim
d5646e842f Move I18n dependency back to ActiveSupport. 2011-05-22 13:31:19 +02:00
José Valim
99b5020eb2 Edited actionpack/lib/action_view/helpers/form_helper.rb via GitHub 2011-05-22 04:27:28 -07:00
José Valim
2cd2f51ded Merge pull request #1189 from jmbejar/7c562d5e460d97b18e4f3367b3cfb13401732920
Add method FormHelper#fields_for_with_index
2011-05-22 04:26:31 -07:00
José Valim
a6e945554d Fix failing tests. 2011-05-22 13:21:47 +02:00
José Valim
a0eee5f3f2 Merge pull request #1208 from dasch/patch-1
Remove superfluous whitespace from ActiveModel::SecurePassword
2011-05-22 04:11:29 -07:00
Daniel Schierbeck
93659a3166 Remove superfluous whitespace from ActiveModel::SecurePassword
Only one space is needed, yo!
2011-05-22 04:02:47 -07:00
José Valim
1ab556fa89 Merge pull request #1206 from arunagw/jruby_openssl_load
Let's load jruby-openssl now for all. #jruby
2011-05-22 03:57:51 -07:00
José Valim
f924dbe566 Merge pull request #1199 from vatrai/jdon_engine_test_fix
test fix jdom_engine_test
2011-05-22 03:48:55 -07:00
José Valim
c932539c5b Merge pull request #1198 from guilleiguaran/changelog_pluralize_table_names
Adding pluralize_table_names change to CHANGELOG
2011-05-22 03:46:32 -07:00
Arun Agrawal
69bad8f517 Let's load jruby-openssl now for all. #jruby 2011-05-22 15:49:30 +05:30
Vishnu Atrai
4fe6d01a3b Fix todo Time.xmlschema used instead of Time.parse 2011-05-22 11:17:32 +05:30