Manuel Menezes de Sequeira
bb4edc8edf
More corrections and clarifications to the Active Record Validations and Callbacks guide.
2011-10-04 16:13:16 +01:00
Manuel Menezes de Sequeira
547f4af2ca
Several small corrections and clarifications to the Active Record Validations and Callbacks guide.
2011-10-03 18:03:35 +01:00
Manuel Menezes de Sequeira
e3d4603151
Several small corrections and improvements to the Migrations and Active Record Basics guides.
2011-10-03 14:47:24 +01:00
Alexey Vakhov
f51cb36fe9
missed underscore in AV::TestCase helper_method documentation
2011-10-03 10:36:13 +04:00
Manuel Menezes de Sequeira
a917c2ba8b
Several other small corrections.
2011-10-01 12:48:34 +01:00
Manuel Menezes de Sequeira
059c04d4dd
Several small corrections and clarifications.
2011-10-01 11:39:00 +01:00
Manuel Menezes de Sequeira
409268edfc
Small typo corrected.
2011-09-30 23:28:51 +01:00
Uģis Ozols
62a9e5a960
Class name specified in example is Person, not AttributePerson.
2011-09-29 14:33:32 +03:00
Michael Hutchinson
0678a5bb18
Corrected a typo.
2011-09-27 18:11:01 -07:00
Justin Leitgeb
9f74ce2924
Make case in configuration document consistent
2011-09-27 18:45:27 -04:00
Vijay Dev
33b55cfbdb
Merge branch 'master' of github.com:lifo/docrails
2011-09-28 00:04:45 +05:30
Vijay Dev
a775853d6a
copy edit d47c2c4
2011-09-28 00:00:50 +05:30
José Valim
9a7e2b8d44
Merge pull request #3141 from jsl/make_ssl_configurable
...
Make the Rack::SSL middleware configurable
2011-09-27 00:44:18 -07:00
Justin Leitgeb
cb5c39f8a0
Make the Rack::SSL middleware configurable
2011-09-26 22:22:52 -04:00
Xavier Noria
01e5e2faeb
partial pass over the asset pipeline guide
2011-09-26 18:19:25 -07:00
Diego Plentz
aafd4c0452
fixing docs for delete_sql where quotes should be used in this example.
2011-09-26 20:06:17 -03:00
Nicolás Hock Isaza
94ed1e2495
Alert about the new Bundler require for asset gems
...
If you are coming from a Rails 3.0 application, you won't have
the correct Bundler require statement.
This will cause the gems under the `assets` group not to be available
in the development and production environment.
I think this is related to the issue #39 in rails-sass
https://github.com/rails/sass-rails/issues/39
2011-09-26 16:34:42 -05:00
Alexey Vakhov
80f1d402e5
update ActionMailer example using last truncate helper method signature
2011-09-26 21:52:16 +04:00
Alexey Vakhov
893ee7f71d
fix ActionMailer readme example
2011-09-26 21:46:25 +04:00
Jon Leighton
b3407c86cf
Don't require a DB connection when setting primary key.
...
Closes #2807 .
2011-09-26 18:15:09 +01:00
Santiago Pastorino
e97b6f2ef7
Merge pull request #3138 from christos/correct_image_path_with_pipeline
...
Correctly override image_path in sprockets rails_helper
2011-09-26 10:02:02 -07:00
Santiago Pastorino
cf90181d84
Merge pull request #3136 from guilleiguaran/clear-digests-on-precompile
...
Avoid use of existing precompiled assets during rake assets:precompile run
2011-09-26 13:57:07 -03:00
Christos Zisopoulos
1996e93eaa
Refactor image_path to use asset_path directly
2011-09-26 18:56:30 +02:00
Santiago Pastorino
17882d2a9e
Copy assets to nondigested filenames too
2011-09-26 13:54:06 -03:00
Christos Zisopoulos
b8ea31540a
Correctly override image_path in sprockets rails_helper
2011-09-26 18:45:49 +02:00
Jon Leighton
89e98e278a
Merge pull request #3030 from htanata/fix_habtm_select_query_method
...
Fix: habtm doesn't respect select query method
2011-09-26 16:52:23 +01:00
Santiago Pastorino
d6cff93152
Just assert_equal here
2011-09-26 12:20:52 -03:00
Santiago Pastorino
2c3a5075b6
Merge pull request #3135 from christos/respect_assets_digest_value
...
Give precedence to `config.digest = false` over the existence of manifest.yml asset digests
2011-09-26 08:16:02 -07:00
Jon Leighton
3b87c38d02
Fix belongs_to polymorphic with custom primary key on target.
...
Closes #3104 .
2011-09-26 15:42:34 +01:00
José Valim
5c0e9333c0
Encapsulate assets initialization in its own rake task.
2011-09-26 16:31:30 +02:00
Santiago Pastorino
b855327443
image_tag should use /assets if asset pipelining is turned on. Closes #3126
2011-09-26 11:20:30 -03:00
Christos Zisopoulos
793e9da63d
Give precedence to config.digest = false over manifest.yml asset digests
2011-09-26 14:27:04 +02:00
Jon Leighton
a15424b92c
Make serializable_hash take attr values directly from attributes hash.
...
Previously, it would use send() to get the attribute. In Active
Resource, this would rely on hitting method missing. If a method with
the same name was defined further up the ancestor chain, that method
would wrongly be called.
This change fixes test_to_xml_with_private_method_name_as_attribute in
activeresource/test/cases/base_test.rb, which was broken after
51bef9d8fb , because that change made
to_xml use serializable_hash.
2011-09-26 12:40:03 +01:00
Jon Leighton
b838059817
CollectionProxy#replace should change the DB records rather than just mutating the array. Fixes #3020 .
2011-09-26 10:41:58 +01:00
Chris Kimpton
51cc6e4f1c
Fixed typo that I added - doh.
2011-09-26 09:21:12 +02:00
Chris Kimpton
d47c2c4620
Clarify that the Active Record config should just work automatically
2011-09-26 08:17:28 +02:00
Chris Kimpton
4b9b2f3d04
add some notes on setup for Active Record tests
2011-09-26 08:06:41 +02:00
Vijay Dev
541018a07b
fix deprecation warning in cookie_store_test
...
The options argument to MessageVerifier#initialize should be a hash.
2011-09-25 23:21:37 +05:30
José Valim
6185929882
Merge pull request #3125 from dolzenko/master
...
Implement Mime::Type#respond_to? (consistently with #method_missing) Closes #3032
2011-09-25 05:26:18 -07:00
Evgeniy Dolzhenko
86cf3fb5fa
Implement Mime::Type#respond_to? (consistently with #method_missing)
2011-09-25 13:03:01 +01:00
José Valim
933ba0cf6e
Merge pull request #3124 from avakhov/patch-6-stylesheet-link
...
escape options for the stylesheet_link_tag method
2011-09-25 04:03:13 -07:00
José Valim
ef4d1cebbc
Merge pull request #2246 from guilleiguaran/sprockets-compressors-api
...
Public API for add new compressors to Sprockets
2011-09-25 04:01:37 -07:00
Alexey Vakhov
5ffa69793f
escape options for the stylesheet_link_tag method
2011-09-25 09:40:49 +04:00
Guillermo Iguaran
038808ba1a
Add public API for register new js and css compressors for Sprockets
2011-09-24 19:22:13 -05:00
Santiago Pastorino
6eaa9f0dad
Merge pull request #3123 from avakhov/patch-5-remove-superfluous-to-s
...
remove superfluous to_s in ERB::Util.html_escape
2011-09-24 14:22:44 -07:00
Santiago Pastorino
d54ff41f8e
Merge pull request #3121 from cablegram/3-1-stable
...
Re-launch assets:precompile task using (Rake.)ruby instead of Kernel.exec so it works on Windows
2011-09-24 18:18:30 -03:00
Santiago Pastorino
3de95fd930
Revert "Make process reuse the env var passed as argument"
...
This reverts commit 0e4748cd41 .
2011-09-24 17:19:42 -03:00
Alexey Vakhov
f916474962
remove superfluous to_s in ERB::Util.html_escape
2011-09-24 23:27:06 +04:00
José Valim
e69011521d
Avoid using pathnames and automatically create the manifest directory if one does not exist yet.
2011-09-24 03:17:49 +02:00
José Valim
e9b02ae27a
Add test for belongs_to? and group initializers.
2011-09-24 03:17:43 +02:00