Alexey Vakhov
4805a657c1
Fix params hash example in AC::Base comment
2011-10-09 20:13:10 +05:30
Guillermo Iguaran
09bb9de6a5
Isolate rake action tests that should be run under default env
2011-10-08 14:56:24 -07:00
Guillermo Iguaran
e63c05fc03
Test utf8 assets filenames with request instead of manifest lookup
2011-10-08 13:29:48 -07:00
Jeremy Kemper
e0513757ea
The generator invokes rake with either the :env option, ENV['RAILS_ENV'], or development. So if Travis has exported RAILS_ENV=test, it'll be used instead of development, breaking these brittle expectations.
2011-10-08 13:26:47 -07:00
Jeremy Kemper
5d183461c0
Skip broken asset precompilation test on Macs. Issues with NFD vs NFC normalization on the asset filename. Major red flag with asset lookups!
2011-10-08 13:26:44 -07:00
Jeremy Kemper
51550edd19
Don't notify IRC on every single build, just failures and first success after a string of failures
2011-10-08 11:14:32 -07:00
Jeremy Kemper
a1fb214ff0
Disable 1.9.3 builds until upgraded from -preview1 to -rc1
2011-10-08 11:14:31 -07:00
Jeremy Kemper
7319f146c3
Add comments to our generated .gitignore, including a note about when to use a global gitignore. Remove .sass-cache since we use /tmp/sass-cache, which is already ignored.
2011-10-08 08:04:33 -07:00
Santiago Pastorino
f03556b366
Revert "Merge pull request #3255 from arunagw/app_gitignore_sqlnet_log_3-1-stable"
...
This reverts commit d12af7a703 , reversing
changes made to 8199b99049 .
2011-10-08 12:56:55 -02:00
Santiago Pastorino
d12af7a703
Merge pull request #3255 from arunagw/app_gitignore_sqlnet_log_3-1-stable
...
App gitignore sqlnet log 3 1 stable
2011-10-08 05:47:37 -07:00
Arun Agrawal
d11769c56e
Sqlnet.log should also be ignored into the app gitignore
2011-10-08 14:44:29 +05:30
José Valim
8199b99049
Merge pull request #3253 from arunagw/gitignore_sqlnet_file
...
Gitignore sqlnet file
2011-10-08 02:06:59 -07:00
Arun Agrawal
574a25d373
Sqlnet.log should be ignored
2011-10-08 14:27:38 +05:30
José Valim
5d624e379f
Merge pull request #3248 from arunagw/query_cache_test_fix_3-1-stable
...
Query cache test fix 3 1 stable
2011-10-08 01:18:15 -07:00
Arun Agrawal
b5439b45f4
Fixed BodyProxy.new for tests!
2011-10-08 09:58:28 +05:30
Vijay Dev
e74067340f
fix bad formatting in the assets guide
2011-10-08 02:24:00 +05:30
José Valim
e424906eb7
testing.rake should set the default task, closes #2564
2011-10-07 22:25:57 +02:00
clay shentrup
39c7b6309d
Clarifying ambiguous description of require_self in the asset pipeline
2011-10-07 22:24:11 +05:30
Nick Quaranto
9e5b4f359f
use Rails.root.join for assets guide
2011-10-07 22:23:33 +05:30
Santiago Pastorino
b992f529e8
Merge pull request #3243 from mjtko/connection-pool-thread-fix
...
QueryCache/ConnectionPool thread fix (was #1670 )
2011-10-07 14:03:54 -02:00
Santiago Pastorino
ba708126d8
Bumping to 3.1.1
2011-10-07 13:13:42 -02:00
Xavier Noria
be6527f63a
asset pipeline guide: removes Apache config for serving pre-compressed assets, and expands the information about nginx support for this
...
A robust Apache configuration for this feature seems to be tricky,
one that takes into account Accept-Encoding, sets Vary, ensures
Content-Type is right, etc.
2011-10-07 15:05:46 +02:00
Vijay Dev
7bf12a1bb5
fix a space in the assets guide
2011-10-06 20:06:56 +05:30
Xavier Noria
05386cec4f
Merge branch '3-1-stable' of github.com:rails/rails into 3-1-stable
2011-10-06 16:22:49 +02:00
Xavier Noria
471e1f1147
revises the precompilation section of the asset pipeline guide (web server configuration for gzipped assets pending)
2011-10-06 16:22:40 +02:00
Jared Mehle
7f60202f03
Quoted path to <Rails.env>_structure.sql file in db:test:clone_structure task.
...
Leaving the path unquoted causes errors in paths containing spaces or dashes.
2011-10-06 19:35:46 +05:30
Yasuo Honda
f40bbc94e1
Fixed test_nonexisting_method_with_arguments to revert commit 29a5aea
...
Signed-off-by: José Valim <jose.valim@gmail.com >
2011-10-06 13:56:25 +02:00
Santiago Pastorino
57a01f337e
Bumping to 3.1.1.rc3
2011-10-05 22:00:08 -02:00
Santiago Pastorino
162e13d941
Add missing CHANGELOG entried
2011-10-05 21:42:59 -02:00
José Valim
3c6cbad8c8
Revert "don't raise NoMethodError the tried method doesn't exists"
...
This reverts commit 29a5aeaae9 .
2011-10-06 00:33:56 +02:00
Jon Leighton
f8beca00dc
Raise an exception on unknown primary key inside AssociationReflection.
...
An association between two models cannot be made if a relevant key is
unknown, so fail fast rather than generating invalid SQL. Fixes #3207 .
2011-10-05 20:24:45 +01:00
Santiago Pastorino
4f2c238f3a
stylesheet_link_tag('/stylesheets/application') and similar helpers doesn't throw Sprockets::FileOutsidePaths exception anymore
2011-10-05 15:42:25 -02:00
Alexey Vakhov
cf4d166271
missed underscore in AV::TestCase helper_method documentation
2011-10-05 18:49:33 +05:30
Uģis Ozols
14e2fe200a
Class name specified in example is Person, not AttributePerson.
2011-10-05 18:49:29 +05:30
José Valim
fc9b52173c
Merge pull request #3230 from amatsuda/string_prepend_31
...
ruby193: String#prepend for 3-1-stable
2011-10-05 01:16:21 -07:00
Akira Matsuda
aa11f7332c
ruby193: String#prepend is also unsafe
2011-10-05 16:48:41 +09:00
Akira Matsuda
9257a21f7a
override unsafe methods only if defined on String
2011-10-05 16:46:56 +09:00
José Valim
c6d13b6320
Fix regression when calling helpers inside sprockets.
2011-10-05 09:35:31 +02:00
José Valim
d9d1bb2fb9
Fix the lame config.action_controller.present? check scattered throughout assets_path.
2011-10-05 02:28:40 +02:00
José Valim
db8db4a466
Ensure default_asset_host_protocol is respected, closes #2980 .
2011-10-05 02:07:25 +02:00
José Valim
188d21c1ee
Encapsulate common rake invocation logic in a method.
2011-10-05 01:17:04 +02:00
José Valim
0ad504000e
Merge pull request #3225 from mjtko/assets-compilation-refactoring-the-sequel
...
assets rake task refactoring work - the sequel
2011-10-04 16:04:08 -07:00
Mark J. Titorenko
871cbae6e4
added comment about why nondigest assets requires a reinvocation
2011-10-04 23:27:53 +01:00
Mark J. Titorenko
45cdb3ea9d
only reinvoke if necessary
2011-10-04 23:27:29 +01:00
Mark J. Titorenko
20173e2682
only execute the nondigest task if needed
2011-10-04 23:22:51 +01:00
Mark J. Titorenko
bbdb7f3258
don't munge the environment, let rake do that for us
2011-10-04 23:10:11 +01:00
Mark J. Titorenko
63bab287ec
assets compilation task refactoring
2011-10-04 23:05:01 +01:00
José Valim
4bc6e2f8a7
Fix failing test added in previous commit.
2011-10-04 22:03:59 +02:00
José Valim
306123b56a
Merge pull request #3221 from mjtko/asset-tests
...
Failing test for assets:clean task issue
2011-10-04 12:57:46 -07:00
Mark J. Titorenko
a5eca91793
correct path used in "digested assets are not mistakenly removed" test
2011-10-04 19:02:28 +01:00