aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix missing test_helper.José Valim2011-04-152-1/+2
|
* render :once, YAGNI.José Valim2011-04-154-119/+1
|
* Make static faster as we don't have to serve multiple paths anymore.José Valim2011-04-154-84/+17
|
* Remove the ability for engines to serve assets from the public directory.José Valim2011-04-1511-429/+19
|
* Fix tests.José Valim2011-04-154-17/+30
|
* Booya, sprockets now works from Engines.José Valim2011-04-157-41/+32
|
* Add some very simple docs.José Valim2011-04-151-0/+3
|
* Remove rescue as it was clobbering the real error.José Valim2011-04-151-31/+8
|
* Merge branch 'master' of github.com:rails/railsJon Leighton2011-04-151-3/+4
|\
| * attribute should be attributesJosé Valim2011-04-141-1/+1
| |
| * Edited actionpack/lib/action_view/helpers/form_helper.rb via GitHubJosé Valim2011-04-141-2/+3
| |
* | Return nil from read_attribute(:foo) if 'foo' is not present in the ↵Jon Leighton2011-04-152-2/+3
| | | | | | | | @attributes hash, but the _foo method has been defined. This brings the behaviour into line with the 3-0-stable branch and the master branch before 93641ed6c8c684f6b4db02b6c8a22fa9bc7f0eaf (there were previously no assertions about this which is why the change slipped through). Note that actually calling the 'foo' method will still raise an error if the attribute is not present.
* | Undo performances regressions I introduced in ↵Jon Leighton2011-04-152-5/+34
|/ | | | bbe0a507f287c20ab4ae8a244fbfc810665deda5 and add test for an edge case. Add comments to explain the intent of the code.
* Refactor test to avoid hackeryJon Leighton2011-04-151-4/+4
|
* Remove unnecessary code from define_read_method and add assertion to make ↵Jon Leighton2011-04-152-7/+5
| | | | sure the underscored version is actually generated
* Use JS comments, pleaseDavid Heinemeier Hansson2011-04-151-9/+9
|
* bcrypt will encrypt anything, so validate_presence_of would not catch nil / ↵Aaron Patterson2011-04-142-1/+15
| | | | blank passwords. Thank you to Aleksander Kamil Modzelewski for reporting this
* sort insert columns for better cache hitsAaron Patterson2011-04-141-1/+1
|
* generated session ids should be encoded as UTF-8Aaron Patterson2011-04-141-1/+3
|
* refactoring inserts to use the same method on the connectionAaron Patterson2011-04-141-21/+16
|
* mimic prepared statements in the exec_insert for mysql2Aaron Patterson2011-04-141-0/+11
|
* mysql type cast should return integers when typecasting true / falseAaron Patterson2011-04-143-0/+57
|
* using the database adapter to typecast before executing prepared statementAaron Patterson2011-04-144-2/+34
|
* inserting big decimals as strings works consistently among dbs, so use ↵Aaron Patterson2011-04-142-2/+2
| | | | string form
* insert statements are prepared, but values are not escaped properlyAaron Patterson2011-04-145-8/+64
|
* adding a type cast method for prepared statementsAaron Patterson2011-04-143-1/+130
|
* Extract the constraint-building for joins in JoinAssociation into a separate ↵Jon Leighton2011-04-141-8/+14
| | | | method to make it easy to change/override (requested by Ernie Miller so that MetaWhere can add to it easily)
* Only rescue a thrown NoMethodError, don't preemptively check for #include?; ↵Jared McFarland2011-04-152-1/+8
| | | | added tests
* added an exception to Object#in? to match the methods documentationJared McFarland2011-04-151-0/+1
|
* Update scaffold controller to generate scss file if Sass is availablePrem Sichanugrist2011-04-158-9/+89
|
* Fixes performance issue introduced in 3.0.6 (issue #6695)Stian Grytøyr2011-04-141-3/+5
|
* change to use the Sass file extension .scssSebastian Martinez2011-04-141-1/+1
| | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* The controller and resource generators will now automatically produce asset ↵David Heinemeier Hansson2011-04-1411-1/+113
| | | | stubs (this can be turned off with --skip-assets). These stubs will use Coffee and Sass, if those libraries are available. [DHH]
* files are a special case and need whitespace to be significantAndre Arko2011-04-141-1/+1
|
* gsub is not needed (thanks @fxn!)Andre Arko2011-04-141-1/+1
|
* Bring back tmp/cache for the default local cache to workDavid Heinemeier Hansson2011-04-141-1/+1
|
* Declaring the attr_accessor for password_confirmation is not necessaryBrian Cardarella2011-04-141-2/+1
| | | | as the confirmation validation already adds that attr_accessor
* attributes no longer disappear if a tag contains whitespaceAndre Arko2011-04-142-1/+10
| | | | | | | | | | old: Hash.from_xml("<tag foo='bar'>\n</tag>") => {"tag"=>"\n"} new: Hash.from_xml("<tag foo='bar'>\n</tag>") => {"tag"=>{"foo"=>"bar", "__content__"=>"\n"}
* Fixed a comment typoEric Hayes2011-04-141-1/+1
|
* Add tests for InheritableOptions.Ben Orenstein2011-04-131-0/+26
| | | | | | [#6625 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* Its assets.enabled, not assets.enableDavid Heinemeier Hansson2011-04-141-1/+1
|
* ActionView::PathSet# accepts String or ArrayDavid Chelimsky2011-04-132-0/+30
| | | | | | - Closes #6692 Signed-off-by: José Valim <jose.valim@gmail.com>
* Cleanup the Gemfile and compute whats needed depending on whether we are on ↵David Heinemeier Hansson2011-04-132-23/+25
| | | | 1.8 or 1.9
* do not depend on to_yaml being called, but rather depend on YAML being dumpedAaron Patterson2011-04-132-7/+8
|
* Fix missing requires in Action MailerPrem Sichanugrist2011-04-132-0/+2
| | | | | | This made the isolated test failed on CI server. Signed-off-by: Xavier Noria <fxn@hashref.com>
* use index based substitution for bind parametersAaron Patterson2011-04-137-10/+10
|
* Generate scaffold.css to app/assets/stylesheets (next step, SCSSify it if ↵David Heinemeier Hansson2011-04-131-1/+1
| | | | SCSS is available)
* Includes have to be in the first commentDavid Heinemeier Hansson2011-04-131-1/+1
|
* Use driver_ujs now that we no longer have to depend on a shared name and ↵David Heinemeier Hansson2011-04-131-6/+0
| | | | insert all prototype dependencies if thats specified
* Use driver_ujs now that we no longer have to depend on a shared name and ↵David Heinemeier Hansson2011-04-132-1/+12
| | | | insert all prototype dependencies if thats specified