Commit Graph

23927 Commits

Author SHA1 Message Date
Richard Hulse
a715c37218 [asset pipeline] expand section on configuration 2011-07-03 17:20:04 +12:00
José Valim
a1d85a03bd Merge pull request #1945 from spohlenz/fix-engine-migrations-check
Fix has_migrations? check in Rails::Engine
2011-07-02 20:42:08 -07:00
Sam Pohlenz
a7a58af244 Fix has_migrations? check in Rails::Engine 2011-07-03 13:02:58 +09:30
José Valim
3875e449ab Merge pull request #1925 from spohlenz/refactor-asset-paths
Refactor sprockets asset paths to allow for alternate asset environments
2011-07-02 20:23:47 -07:00
Richard Hulse
c7dec1716e [asset pipeline] More updates
resources for fingerprinting, grammar,CSS
2011-07-03 14:11:41 +12:00
Richard Hulse
0dc2c57bb3 [asset pipeline] Add resources to fingerprinting 2011-07-03 13:53:39 +12:00
Sam Pohlenz
21344bc33b Add documentation for asset_prefix and asset_environment 2011-07-03 10:29:04 +09:30
Richard Hulse
cfbed13a61 [asset pipeline] what is fingerprinting section 2011-07-03 12:30:09 +12:00
Richard Hulse
870d07032f [asset pipeline] spelling ! 2011-07-03 09:44:50 +12:00
Richard Hulse
2a06de86fa [asset pipeline] Add new rationale section
This will contain details about fingerprinting.
2011-07-03 08:31:21 +12:00
Santiago Pastorino
9d6e5e64dc Merge pull request #1940 from dmathieu/missing_location
Provide a more explicit message when we try to redirect to a missing location
2011-07-02 12:51:59 -07:00
Vijay Dev
2d022f0b0f Merge pull request #50 from wader/master
Fix arguments to get plugin help
2011-07-02 12:44:17 -07:00
Vijay Dev
15f35c0ac0 Reversing the changes done in c278a2c while still resolving #1857.
The changes broke bulk migration tests and were fixed in 4d256bc6;
however that brought back the issue of #1857 and so this commit goes
back to the original scenario and just adds change_table to the list
of methods which are to be recorded in the CommandRecorder. The
method_missing now delegates all calls to the underlying connection as
before.
2011-07-02 23:43:13 +05:30
Damien Mathieu
ac15bcebf2 provide a more explicit message when using url_for with nil
This fixes the problem of having a non-explicit message when the :location option is not provided in respond_with.
2011-07-02 18:53:54 +02:00
Vijay Dev
2949e30a05 document handle_unverified_request method 2011-07-02 21:18:46 +05:30
Vijay Dev
007214cfb9 Revert "fix a typo"
Reason: Changelogs are not to be changed in docrails.

This reverts commit 0b8cdc16e0b7c3404a0e3470b580235023c53542.
2011-07-02 13:58:26 +05:30
José Valim
908be47781 Merge pull request #1938 from joefiorini/master
Make to_json take a parameter to exclude root
2011-07-01 20:20:33 -07:00
Joe Fiorini
ac5e691153 Enable passing root: false to #to_json 2011-07-01 23:00:13 -04:00
Aaron Patterson
36d289ad24 a few minor performance improvements: fewer strings, fewer range objects, fewer method calls 2011-07-01 15:20:11 -07:00
José Valim
13990d50fa require 'thread' before using mutex 2011-07-01 14:52:07 -07:00
Aaron Patterson
2ed8097058 calling super is super. if the other object is exactly equal, we can return early 2011-07-01 14:38:22 -07:00
Aaron Patterson
06c72c43ba remove unused codes 2011-07-01 14:38:17 -07:00
Andrew White
2d16515e52 It's autoload all the way down 2011-07-01 21:44:16 +01:00
Ray Baxter
0b8cdc16e0 fix a typo 2011-07-01 13:35:00 -07:00
Andrew White
79924c637d Don't require ActionView::Context as it's autoloaded 2011-07-01 20:36:23 +01:00
Andrew White
505b6a43f7 Revert "Add missing require for ActionView::AssetPaths"
This reverts commit 987eb7d4236513978e3cfcd5c3c159d95d2a84c8.
2011-07-01 20:34:15 +01:00
Andrew White
fdaecbed84 Add missing requires for ActionView::Context and Module#instance_method_names 2011-07-01 20:17:48 +01:00
Andrew White
987eb7d423 Add missing require for ActionView::AssetPaths 2011-07-01 20:17:48 +01:00
José Valim
d74e1b1ac5 Add assets_gemfile_entry. 2011-07-01 15:21:08 -03:00
José Valim
3da608e0b4 Revert "Add method fields_for_with_index to FormHelper"
This reverts commit 7c562d5e460d97b18e4f3367b3cfb13401732920.

Conflicts:

	actionpack/lib/action_view/helpers/form_helper.rb
2011-07-01 14:52:18 -03:00
Aaron Patterson
441d8ec130 reduce calls to owners_by_key and to read_attribute, respond_to? etc 2011-07-01 09:55:48 -07:00
Mattias Wadman
dfabd909c6 Fix arguments to get plugin help. Otherwise a plugin named "new" is created. 2011-07-01 07:58:04 -07:00
Matt Jankowski
7896ac35c0 general grammar cleanup of cache docs 2011-07-01 10:18:23 -04:00
Matt Jankowski
894cca5cc5 general formatting cleanup, and clarify that passing true as third option for benchmarking will stop output OTHER THAN the timing output itself 2011-07-01 10:05:45 -04:00
Gabriel Sobrinho
5399471820 Create a test case for disable_referential_integrity 2011-07-01 10:04:10 -03:00
Sam Pohlenz
0613f3bcdb Add tests for alternate asset prefix/environment 2011-07-01 21:56:41 +09:30
José Valim
b31ce90e99 Merge pull request #1927 from bogdan/select_multiple_index
Fixed ActionView::FormOptionsHelper#select with :multiple => false
2011-07-01 04:31:48 -07:00
Richard Hulse
8de6ded7a5 [asset pipeline] refactor docs and add new content
This changes the document around and adds more details about
the rationale behind the pipeline. Still a WIP.
2011-07-01 22:34:17 +12:00
Tobias Schlottke
139971d3cc Now accepting css/js files in deeper directory structures by default.
This is useful for engines with own application.{js|css}-files.
See: https://github.com/rails/rails/issues/1520
2011-07-01 09:53:48 +02:00
Sam Pohlenz
d5f7253206 Refactor sprockets asset paths to allow for alternate asset environments 2011-07-01 17:08:58 +09:30
Jon Leighton
cb99c8593a Remove AssociationReflection#create_association and AssociationReflection#create_association! - they are not called from anywhere. 2011-06-30 23:39:58 +01:00
Jon Leighton
0e225ec583 Assign the association attributes to the associated record before the before_initialize callback of the record runs. Fixes #1842. 2011-06-30 23:39:58 +01:00
Aaron Patterson
6a283d598f match method signature of the superclass 2011-06-30 15:31:23 -07:00
Aaron Patterson
8e19a5dc4c call super rather than delegating to the other objects equal? method 2011-06-30 15:31:22 -07:00
Aaron Patterson
2545da6dd6 just alias eql? to == for frewer method calls 2011-06-30 15:31:22 -07:00
Aaron Patterson
f7bd07b62a only calculate method name once 2011-06-30 15:31:22 -07:00
Aaron Patterson
f261ef42cc cache the plural name on the reflection so we do not pay pluralize costs on joins 2011-06-30 15:31:22 -07:00
Santiago Pastorino
2ebc564394 Depend on edge version of sass-rails 2011-06-30 18:27:02 -03:00
Santiago Pastorino
fb44101bb2 Depend on edge version of coffee-rails 2011-06-30 18:12:49 -03:00
Vijay Dev
5fe67fa7a3 update doc about resetting the session in case of authenticity token mismatch 2011-07-01 00:00:38 +05:30