Eric Hayes
ada550d908
Fixed a comment typo
2011-04-14 16:29:06 +08:00
Ben Orenstein
4db4f8c624
Add tests for InheritableOptions.
...
[#6625 state:committed]
Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
2011-04-13 23:30:58 -03:00
David Heinemeier Hansson
443af58995
Its assets.enabled, not assets.enable
2011-04-14 00:45:25 +02:00
David Chelimsky
a26d407f63
ActionView::PathSet# accepts String or Array
...
- Closes #6692
Signed-off-by: José Valim <jose.valim@gmail.com>
2011-04-13 21:45:51 +02:00
David Heinemeier Hansson
bd3b2241a4
Cleanup the Gemfile and compute whats needed depending on whether we are on 1.8 or 1.9
2011-04-13 21:32:41 +02:00
Aaron Patterson
1f4dae9daa
do not depend on to_yaml being called, but rather depend on YAML being dumped
2011-04-13 11:41:42 -07:00
Prem Sichanugrist
0f8a6ebba3
Fix missing requires in Action Mailer
...
This made the isolated test failed on CI server.
Signed-off-by: Xavier Noria <fxn@hashref.com>
2011-04-13 19:52:19 +02:00
Aaron Patterson
eebb19c954
use index based substitution for bind parameters
2011-04-13 09:42:51 -07:00
David Heinemeier Hansson
48fb6b3380
Generate scaffold.css to app/assets/stylesheets (next step, SCSSify it if SCSS is available)
2011-04-13 18:21:52 +02:00
David Heinemeier Hansson
023d4f9fc1
Includes have to be in the first comment
2011-04-13 18:09:04 +02:00
David Heinemeier Hansson
e7280cb1bd
Use driver_ujs now that we no longer have to depend on a shared name and insert all prototype dependencies if thats specified
2011-04-13 18:08:40 +02:00
David Heinemeier Hansson
17c1b0f0d3
Use driver_ujs now that we no longer have to depend on a shared name and insert all prototype dependencies if thats specified
2011-04-13 18:08:02 +02:00
David Heinemeier Hansson
26528efb54
Blah, assets cant be turned on from initializers either
2011-04-13 18:02:49 +02:00
David Heinemeier Hansson
4eb3ee4818
Cleanup comments
2011-04-13 17:54:11 +02:00
David Heinemeier Hansson
5b49867a75
Not needed
2011-04-13 17:51:46 +02:00
David Heinemeier Hansson
65ffcecc6a
Require asset pipeline targets by default
2011-04-13 17:50:55 +02:00
David Heinemeier Hansson
7e3b374312
Require everything by default
2011-04-13 17:50:37 +02:00
David Heinemeier Hansson
f3f28ee493
Dont need to make application.js into coffee since it will mostly be a manifest file anyway
2011-04-13 17:37:48 +02:00
David Heinemeier Hansson
cf5599d9fa
Move json requirement to user Gemfile -- still need to do better than this, though
2011-04-13 17:31:32 +02:00
David Heinemeier Hansson
1652c55651
Use Sass from git until the final gem is out
2011-04-13 17:30:08 +02:00
David Heinemeier Hansson
e3273f5cce
Move the asset template engines to the user-generated Gemfile
2011-04-13 17:14:14 +02:00
Joshua Peek
23aa7dacb5
Generate CoffeeScript stub by default
2011-04-13 10:03:47 -05:00
Joshua Peek
9f09aeb827
Include CoffeeScript in Gemfile
2011-04-13 09:57:22 -05:00
Joshua Peek
9333ca74b3
Add default require directives for jquery
2011-04-13 09:47:29 -05:00
David Heinemeier Hansson
5e7e81ab1a
Blah, identity_map has to be setup in application.rb to work
2011-04-13 16:42:59 +02:00
David Heinemeier Hansson
6fa7c3e036
Fix triplets
2011-04-13 16:26:22 +02:00
David Heinemeier Hansson
6d5e86eb6b
Clean up the generator, switch to assets usage, use vendor/assets for the default scripts, and more
2011-04-13 16:19:46 +02:00
David Heinemeier Hansson
101406d743
Move to app/assets in anticipation of image support being added as well. Also add vendor/assets to default load path
2011-04-13 14:31:09 +02:00
David Heinemeier Hansson
ab1f91394f
Until the latest sprockets gem is released, we need new apps to reference it directly
2011-04-13 14:31:09 +02:00
Prem Sichanugrist
733bfa63f5
Remove #among?
from Active Support
...
After a long list of discussion about the performance problem from using varargs and the reason that we can't find a great pair for it, it would be best to remove support for it for now.
It will come back if we can find a good pair for it. For now, Bon Voyage, `#among?`.
2011-04-13 20:25:28 +08:00
Xavier Noria
1f869114f5
updates AP CHANGELOG
2011-04-13 13:41:26 +02:00
Xavier Noria
66e43aa1a8
updates railties CHANGELOG
2011-04-13 13:40:43 +02:00
Xavier Noria
acdbc6ae41
renames response_from_page_or_rjs -> response_from_page, and extracts the RJS in it
2011-04-13 13:24:33 +02:00
Xavier Noria
86d6cdd7f7
fixes the name of a test
2011-04-13 13:24:33 +02:00
Xavier Noria
06ae5769e1
removes some remaining .rjs occurrences
2011-04-13 13:24:33 +02:00
Xavier Noria
d76fbff8b4
removes reference to RJS from AC::RecordIdentifier docs
2011-04-13 13:24:32 +02:00
Xavier Noria
404ae77c40
removes a remaining reference to .rjs in template resolver's RDoc
2011-04-13 13:24:32 +02:00
Xavier Noria
16bccca361
removed references to RJS from the AP README
2011-04-13 13:24:32 +02:00
Xavier Noria
e06771f9d4
removes RJS documentation from AV::Base
2011-04-13 13:24:32 +02:00
Xavier Noria
6cf1fc5cda
removes mentions to RJS in the security guide
2011-04-13 13:24:32 +02:00
Xavier Noria
d8f23ca627
removes debug_rjs from ActionView::Base
2011-04-13 13:24:32 +02:00
Xavier Noria
7c9d91f53e
removes render :update from views
2011-04-13 13:24:32 +02:00
Xavier Noria
90de26703e
removes ActionView::Helpers::PrototypeHelper
2011-04-13 13:24:32 +02:00
Xavier Noria
06bdaae071
removes ActionView::Helpers::ScriptaculousHelper
2011-04-13 13:24:31 +02:00
Xavier Noria
5850f16935
removes the RJS template handler
2011-04-13 13:23:18 +02:00
Xavier Noria
eea66892c8
removes support for render :update
2011-04-13 13:23:17 +02:00
Xavier Noria
25181cafee
let the default function in button_to_function be nil
...
I don't know which is the use case for button_to_function(name)
but there's a test for it. I am focused now on RJS extraction
and do not want to introduce a backwards incompatible change
at this moment. Perhaps worth revisiting when the whole thing
is done.
2011-04-13 13:23:16 +02:00
Xavier Noria
f9472f064f
applies API guidelines to example
2011-04-13 13:23:16 +02:00
Xavier Noria
3223e04a21
removes support for RJS in button_to_function
2011-04-13 13:23:16 +02:00
Xavier Noria
b878757c50
removes assert_select_rjs
2011-04-13 13:23:16 +02:00