Aaron Patterson
37b2104109
adding a test for #1322
2011-05-27 11:45:32 -07:00
dmathieu
9cb8a18200
don't raise an exception if the format isn't recognized
...
Fixed while traveling to heuruko
2011-05-27 07:50:44 +02:00
José Valim
3868624c79
Merge pull request #1313 from joshk/deprecation_message_correction
...
Deprecation message correction
2011-05-25 14:56:10 -07:00
Josh Kalderimis
a1936b4a6b
correction to the AR::Base#attributes= guard_protected_attributes deprecation message
2011-05-25 23:44:52 +02:00
wycats
9701014b96
Renaming helper in the Rake task, but why is this needed in the first place? (paging JP)
2011-05-25 11:37:47 -07:00
José Valim
289f9cedef
Everyone receives app as argument for consistency.
...
Conflicts:
railties/lib/rails/application.rb
2011-05-25 01:39:09 +02:00
Jon Leighton
b519b0cac9
Fix infinite recursion where a lazy default scope references a scope. Fixes #1264 .
2011-05-25 00:18:08 +01:00
Andrew White
8a4263c957
Ignore :includes on through associations
2011-05-25 00:17:53 +01:00
Jon Leighton
63a659847b
Ensure that the surrounding code in Relation#to_a respects the default_scope (as well as having Relation#arel respect the default scope). Fixes #1233 .
2011-05-25 00:17:15 +01:00
Andrew White
0daf574648
Failing tests for #1233 .
2011-05-25 00:17:00 +01:00
wycats
c08f845c91
Update default Gemfile to point to sass-rails, not sass
2011-05-24 16:14:02 -07:00
wycats
23820a2042
Hide css:* and the default stylesheet from rails g
2011-05-24 16:13:53 -07:00
wycats
5d9eb1a44e
Update generator config to support hiding namespaces and pass the app into generator blocks
2011-05-24 16:13:45 -07:00
tomhuda
e1043cc848
Move SCSS generators and default templates from Rails to the Sass Railtie (d435726312601edb3ba6f97b34f562221f72c1f8).
...
* Sass gem registers a compressor
* Sass gem registers generators for assets and scaffold
* Create a default stylesheet_engine ("css") for apps that remove the Sass gem
2011-05-24 16:13:39 -07:00
tomhuda
7eed5c0303
Change compressor API so that plugins can register default compressors for their stylesheet or JS engines and still allow the user to turn off compression
2011-05-24 16:13:32 -07:00
Aaron Patterson
656e7b0807
rescue record invalid exceptions and return false from the save method. fixes #796
2011-05-24 11:26:53 -07:00
Aaron Patterson
1d864e823a
add tests surrounding behavior of save and save! for associations that have validation errors
2011-05-24 11:26:49 -07:00
Aaron Patterson
b102e60bf5
adding a test for create! with invalid associations
2011-05-24 11:26:44 -07:00
Aaron Patterson
d48563352f
do not bother with assert_nothing_raised, the test will fail and we get a better trace without it
2011-05-24 11:26:39 -07:00
Joey Butler
177666ebcf
Add failing test case for issue 796
2011-05-24 11:26:34 -07:00
David Heinemeier Hansson
c77bdc017b
Remove asserts for js ext stuff thats not used any more
2011-05-24 10:22:45 -05:00
David Heinemeier Hansson
da1ee0e371
The asset pipeline is always on for new apps, dont need the legacy js ext stuff
2011-05-24 07:46:30 -05:00
Jon Leighton
872a9c1b50
Fix problem with loading polymorphic associations which have been defined in an abstract superclass. Fixes #552 .
2011-05-23 20:30:26 +01:00
Jon Leighton
3cbfc8cc4e
Deprecate ActiveSupport::SecureRandom. Just use SecureRandom which is provided by the standard library.
2011-05-23 20:24:44 +01:00
Jon Leighton
5a6927ec1e
Replace references to ActiveSupport::SecureRandom with just SecureRandom, and require 'securerandom' from the stdlib when active support is required.
2011-05-23 20:24:44 +01:00
José Valim
b648286a0c
Merge pull request #1235 from joshk/deprecate_kernel_requires
...
Deprecate kernel requires
2011-05-23 12:20:30 -07:00
Josh Kalderimis
d79e2846da
deprecate AS core_ext/kernel/requires in 3.1
2011-05-23 19:54:00 +02:00
José Valim
65f54a66b0
Move content length to the server, this brings the same behavior as in rack 1.2.
2011-05-23 10:32:04 +02:00
José Valim
72368610f0
Use Rack 1.3.0.
2011-05-23 00:33:48 -07:00
Joshua Peek
7ad24a7d96
Require sprockets beta 8
2011-05-22 20:10:13 -05: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
9164dda151
Fix I18n dependency as final is out.
2011-05-22 13:39:13 +02: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
7bf9d6f3a8
test fix jdom_engine_test
2011-05-22 10:20:45 +05:30
Guillermo Iguaran
6e5419a0b1
Adding pluralize_table_names change to CHANGELOG
2011-05-21 22:16:34 -05:00
David Heinemeier Hansson
82857adc56
Bump versions for rc1
2011-05-21 20:56:52 -05:00
David Heinemeier Hansson
073f80eaa8
Merge pull request #1195 from dmathieu/try_undefined_method
...
Don't raise NoMethodError the tried method doesn't exists
2011-05-21 17:56:44 -07:00
dmathieu
a85e00c01c
make sure missing method does not fail with arguments
2011-05-22 00:32:58 +02:00
dmathieu
29a5aeaae9
don't raise NoMethodError the tried method doesn't exists
2011-05-21 23:43:12 +02:00
José Valim
f674aed150
Merge pull request #1191 from arunagw/removal_extra
...
Removal require again from tests.
2011-05-21 13:08:13 -07:00
Arun Agrawal
40e33771e6
Removal require again from tests.
2011-05-22 00:55:12 +05:30
José Valim
f007885a03
Merge pull request #1188 from thedarkone/duplicable-duration
...
Fix AS::Duration#duplicable? on 1.8
2011-05-21 10:42:01 -07:00
Xavier Noria
eb0257944e
Merge pull request #1180 from Karunakar/documentation_change
...
Documentation Error Fixed for ticket #839
2011-05-21 10:39:28 -07:00