Joshua Peek
dab96a267e
Add shorthand for js and css compressors
2011-04-22 10:49:55 -05:00
Ken Collins
ed2820d6ec
Move #exec_insert to abstract adapter's database statements.
2011-04-22 22:32:55 +08:00
Aaron Patterson
724a786677
stop using distinct on for the unique id queries. [ #6450 state:resolved]
2011-04-21 22:47:13 -05:00
Joshua Peek
84f1b83df8
Only include SprocketsHelper into assets context
2011-04-21 11:03:56 -05:00
José Valim
d31af44012
Fix tests on 1.8 by explicitly checking for strings (which also improves performance).
2011-04-20 21:54:19 +02:00
Xavier Noria
356dacbafc
Merge branch 'master' of git://github.com/lifo/docrails
2011-04-19 23:03:28 +02:00
Josh Kalderimis
68eb84d735
correction to the i18n locale filter examples
2011-04-19 22:52:00 +02:00
José Valim
2f549b8bbd
Use initialize_copy! to proper initialize now on clone.
2011-04-19 22:38:51 +02:00
Florent Piteau
89ed9fbd19
Don't reuse a closed flash when using now
2011-04-20 04:32:26 +08:00
José Valim
22fcef90b1
Actually add an abstract class, so it is easier to get rid of old asset paths in the future.
2011-04-19 22:02:02 +02:00
Xavier Noria
e162e912c9
Merge branch 'master' of git://github.com/lifo/docrails
...
Conflicts:
railties/guides/source/ajax_on_rails.textile
railties/guides/source/generators.textile
2011-04-19 21:54:10 +02:00
José Valim
a19c260038
Include modules to the context in the railtie.
2011-04-19 21:49:28 +02:00
Xavier Noria
ad60286926
Revert "Better formatting"
...
No need to change this formatting.
This reverts commit 9c861e8a0e .
2011-04-19 21:43:17 +02:00
José Valim
914218ef30
Let's use inheritance here, shall we?
2011-04-19 21:32:58 +02:00
Xavier Noria
5fee98adf8
remove unwanted Example headers as per the guidelines, s/instaces of NilClass/nil/ and friends, completes some rdocs
2011-04-19 21:15:15 +02:00
Xavier Noria
eaf0d1a491
commit copy-edit: simplifies blank? rdoc and revises formatting
2011-04-19 21:00:16 +02:00
Xavier Noria
571b4a2a91
Revert "Formated docs"
...
Reason: "To be blank" and "to be empty" belongs to our everyday
terminology, they go in regular font.
This reverts commit 280a870992 .
2011-04-19 21:00:15 +02:00
Xavier Noria
3265516c50
brings a #:nodoc: back
2011-04-19 21:00:15 +02:00
Florent Piteau
a1639ad752
Undocumented :openssl_verify_mode option for smtp_settings
2011-04-19 20:44:20 +02:00
David Heinemeier Hansson
c96bf840ad
Add app/assets/images and include the rails.png as a sample there
2011-04-19 20:38:38 +02:00
David Heinemeier Hansson
9aac54c4bf
Add note about the option to add other precompile targets
2011-04-19 20:35:53 +02:00
David Heinemeier Hansson
e6850136d6
Set a default precompile target to be the application.js, application.css, and all non-css/js files (images etc)
2011-04-19 20:33:56 +02:00
David Heinemeier Hansson
1e56c89559
Give assets access to asset_path during precompilation
2011-04-19 20:06:09 +02:00
David Heinemeier Hansson
626bcc9bf4
Switch to asset_path and make it available in the Sprockets::Context (now you can do asset_path("logo.png") in a stylesheet.css.erb file and get fingerprinting)
2011-04-19 19:05:07 +02:00
David Heinemeier Hansson
d35c91225e
Cleanup compute_sprockets_path -- when you are reaching for code comments, the method could be simpler
2011-04-19 18:30:44 +02:00
Xavier Noria
9b423ac0b7
let this regexp be stricter
...
The purpose of this regexp is to detect strings that
are valid identifiers to be used as method names.
The anchor $ allows a trailing newline, and both ^
and $ may be bypassed because Ruby regexps are
multiline always. The anchors \A and \z are the
proper ones to ensure string boundaries.
2011-04-19 18:16:38 +02:00
David Heinemeier Hansson
a3a5c7eba3
All assets, including images, audio, and video, now uses the asset pipeline when its on
2011-04-19 18:07:42 +02:00
José Valim
dca31b9224
Let's not dup because value may not always be duplicable.
2011-04-19 18:06:01 +02:00
José Valim
30472d4244
Avoid define_method if possible.
2011-04-19 17:58:06 +02:00
Joshua Peek
d24d938af4
Merge branch 'joshk-multi_json'
2011-04-19 09:43:47 -05:00
Joshua Peek
011afb70e5
Merge branch 'multi_json' of https://github.com/joshk/rails into joshk-multi_json
2011-04-19 09:42:11 -05:00
Josh Kalderimis
b24621809e
remove MultiJson from the Gemfile and instead add the current rc to the AS gemspec
2011-04-19 16:34:34 +02:00
José Valim
069e9b004f
Do not stream on HTTP/1.0.
2011-04-19 15:04:28 +02:00
José Valim
b398520c14
Output a redirect to the 500 page if something happens when streaming.
...
Currently, we output:
"><script type="text/javascript">window.location = "/500.html"</script></html>
2011-04-19 12:26:11 +02:00
José Valim
a66c917235
Do not inherit from Rack::Response, remove a shit-ton of unused code.
2011-04-19 11:54:12 +02:00
Paco Guzman
66a2ffcdb7
Update link to Rails 2.3 guides from 2.3.8 to last release 2.3.11. Maybe someone could regenerate the guides
2011-04-19 11:24:09 +02:00
José Valim
6380f1a9f4
Be sure to not store the closed flash in the session.
2011-04-19 10:34:17 +02:00
Sebastian Martinez
082e299e97
docs for ActionMailer::Base.default_i18n_subject
2011-04-18 23:37:27 -03:00
Jon Leighton
3bff8bdb2a
Merge branch 'master' of github.com:rails/rails
2011-04-18 23:35:28 +01:00
Jon Leighton
019cd51a3f
Bring back support for passing a callable object to the default_scope macro. You can also just use a block.
2011-04-18 23:35:22 +01:00
Jon Leighton
6f84c73dc4
Un-deprecate using 'default_scope' as a macro, but if you are calling the macro multiple times that will give deprecation warnings, and in 3.2 we will simply overwrite the default scope when you call the macro multiple times.
2011-04-18 23:15:38 +01:00
Josh Kalderimis
e5919536a6
Merge branch 'master' of https://github.com/rails/rails into multi_json
2011-04-19 00:14:50 +02:00
Josh Kalderimis
1d8be7bc6f
AS Json parse_error makes a return for backwards compatibility, although it will return MultiJson::DecodeError
2011-04-19 00:01:50 +02:00
Aaron Patterson
64e2a549cf
adding a rake task to help generate changelog notes for release announcements
2011-04-18 14:44:12 -07:00
Josh Kalderimis
e019587e31
removed AS backends and instead rely on MultiJson for json decoding
2011-04-18 21:39:15 +02:00
David Heinemeier Hansson
0acc6bd6cb
Use proper coffee comments
2011-04-18 21:07:04 +02:00
Arun Agrawal
92537b8c27
File should be open in read/write mode. When doing lock on a file.
2011-04-18 09:08:53 -07:00
Sebastian Martinez
280a870992
Formated docs
2011-04-18 10:02:55 -03:00
Sebastian Martinez
51f5209dc1
oops fixed typo
2011-04-18 09:34:51 -03:00
Sebastian Martinez
af41d5540b
Fixed docs for NilClass#try
2011-04-18 09:33:00 -03:00