Commit Graph

6660 Commits

Author SHA1 Message Date
Xavier Noria
b65bd01d55 Merge branch 'master' of git://github.com/lifo/docrails 2011-07-09 12:20:24 +02:00
Ryan Bigg
1835aba6f1 Add section about debugging assets 2011-07-09 10:54:08 +10:00
Ryan Bigg
678dd6f5d6 Clarify that per-controller asset files are not 'magically' loaded by the controller, but rather need to be required 2011-07-09 10:54:08 +10:00
Christopher Scott Hernandez
2423aca1c5 Updated active_record_querying.textile: intro paragraph of 'Conditions' to change 'find method' to 'where method' 2011-07-08 10:02:01 -07:00
Vijay Dev
5724625e81 update Rails version. (rails console didn't exist in 2.1) 2011-07-08 20:51:09 +05:30
Oge Nnadi
2b8c87404c Changed the value that log_level takes to match the examples in the paragraph above 2011-07-08 07:57:16 -07:00
Akira Matsuda
d02726c24c minor document edit
the sample model has only 9 lines: 4d4819fb27 (commitcomment-467295)
2011-07-08 18:44:42 +09:00
José Valim
2a24bcc6cf Don't raise on mass assignment for test 2011-07-07 18:58:04 -03:00
Akira Matsuda
4d4819fb27 :conditions => where 2011-07-08 06:13:21 +09:00
Santiago Pastorino
99c20aaa75 Merge pull request #1767 from jwarwick/rake_notes_dirs
Updated rake:notes to search additional directories
2011-07-07 09:03:43 -07:00
José Valim
298a0834e1 Just generate AR options if AR is enabled 2011-07-07 11:52:20 -03:00
José Valim
4b6232e5a7 Merge pull request #1996 from bogdan/default_sanitizer_squashed
Rails app template: setup different mass assignment sanitizer for envs
2011-07-07 03:59:34 -07:00
Bogdan Gusiev
0fab8c388e Rails app template: setup different mass assignment sanitizer for envs
For production - leave the default
For test and dev: :strict.
2011-07-07 10:24:05 +03:00
José Valim
35597e3606 Ensure the engine_path is there (it may make CI happy). 2011-07-06 23:00:02 -03:00
jwarwick
a85caaa185 Updated rake:notes to search app, config, lib, script and test dirs 2011-07-06 21:41:13 -04:00
José Valim
2f6e3895a8 Make compressors lazily load. 2011-07-06 21:41:13 -03:00
Santiago Pastorino
61913684a2 Merge pull request #1926 from tobsch/master
Accept application.js/.css to exist in a deeper directory depth by default
2011-07-06 11:42:29 -07:00
Aaron Patterson
a990b1223b updating pg supported versions docco. fixes #1959 2011-07-05 11:32:31 -07:00
JudeArasu
a95d7d86c8 rails text been added before version 2011-07-05 22:49:44 +05:30
James Miller
9fec798124 Remove attachment_fu, add CarrierWave to suggested uploader libraries 2011-07-05 08:40:09 -07:00
José Valim
eb2e109b7e Merge pull request #1963 from jake3030/fix_engine_rake_task
Fix engine rake task
2011-07-05 03:41:54 -07:00
Xavier Noria
289b5253ce Merge branch 'master' of git://github.com/lifo/docrails 2011-07-05 01:42:13 +02:00
Jake Varghese
467c9b6e23 fix engines rake tasks 2011-07-04 15:48:15 -05:00
Damien Mathieu
dc2d8af1a3 Load the generators test helper and properly load it's test case 2011-07-03 20:22:30 +02:00
Mohammad Typaldos
47139b8cb6 Edited railties/guides/source/asset_pipeline.textile via GitHub 2011-07-03 07:13:20 -07:00
Richard Hulse
a715c37218 [asset pipeline] expand section on configuration 2011-07-03 17:20:04 +12:00
Sam Pohlenz
a7a58af244 Fix has_migrations? check in Rails::Engine 2011-07-03 13:02:58 +09:30
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
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
José Valim
d74e1b1ac5 Add assets_gemfile_entry. 2011-07-01 15:21:08 -03: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
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
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
Jon Leighton
9eabbabe74 Document the change to Array.wrap's behaviour that was made in b4d8c7d148c6b44eea6701687ca2a97df9088747 2011-06-30 18:18:13 +01:00
Santiago Pastorino
35cdd256c0 Master version is 3.2.0.beta 2011-06-30 10:18:36 -03:00
Vijay Dev
7744177919 Revert "Included w3c_validators gem and modified Migrations file"
This reverts commit 1028226b00a3671a465b510880bd186ae26b2e3d.

Reason: No code changes can be done in docrails.
2011-06-30 12:50:05 +05:30
Daniel Dyba
b367f961bb Merge pull request #49 from dyba/master
Separated the ActiveRecord Supported Types in a separate section
2011-06-29 23:21:09 -07:00
Daniel Dyba
1028226b00 Included w3c_validators gem and modified Migrations file 2011-06-29 23:04:02 -07:00
Santiago Pastorino
539752a54c Move Coffee generators and templates to Coffee Railtie and create javascript_engine ("js") for apps that remove Coffee gem 2011-06-29 21:16:09 -03:00
José Valim
c49d1f2b26 Merge pull request #1899 from ihower/patch_rake_test
Make "rake test" display not only task name but also exception message.
2011-06-29 10:01:13 -07:00
Wen-Tien Chang
db87e48b5e Add test to rake test for error messages 2011-06-30 00:09:00 +08:00
José Valim
c690b7124d [IMPORTANT] Make "sprockets/railtie" require explicit.
This makes "sprockets/railtie" explicit. This means that sprockets will
be loaded when you require "rails/all". If you are not using requiring
"rails/all", you need to manually load it with all other framework
railties.

In order to be complete, this commit also adds --skip-sprockets to
the rails generator.
2011-06-29 09:41:16 -03:00
Wen-Tien Chang
89ad0629e0 Make "rake test" display not only task name but also exception message. 2011-06-29 17:15:55 +08:00
Akira Matsuda
7d3a61a0e2 correct invalid HAVING query
* GROUP BY value must appear in SELECT clause
* ("created_at < ?", 1.month.ago) wasn't a very good example for HAVING. you'd better use WHERE for such a simple condition
2011-06-29 08:36:04 +09:00
Akira Matsuda
cfab51c819 correct invalid GROUP BY query
GROUP BY value must appear in SELECT clause
2011-06-29 08:09:02 +09:00