Carlhuda
dedb842fda
It would be nice to actually commit test fixtures
2010-04-30 16:25:40 -07:00
eparreno
81807e0fe2
fix format
2010-04-30 23:19:44 +02:00
Carlhuda
785493ffed
Provide a mechanism for overriding the entire generator via a class that handles the individual elements of generating a new Rails application
2010-04-30 13:48:06 -07:00
Carlhuda
0761d1b0f7
Set up app generator class to make it easier to for alt-stacks to override targeted areas
2010-04-30 13:48:06 -07:00
Jeremy Kemper
1d2257deeb
Merge remote branch 'technoweenie/http_token_authentication'
...
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
2010-04-30 13:46:37 -07:00
Xavier Noria
1ff954aaea
after_(commit|rollback) rdoc, edit pass
2010-04-30 21:35:03 +02:00
Xavier Noria
f5fa13cca1
guides index: punctuation
2010-04-30 21:22:57 +02:00
wycats
e975f6f530
Add generators to the guides and break out an extensions section
2010-04-30 11:52:04 -07:00
wycats
21c1fbb6c1
Add generators to the guides and break out an extensions section
2010-04-30 11:50:37 -07:00
wycats
0fe8827bf3
Merge branch 'master' of github.com:rails/rails
2010-04-30 11:17:58 -07:00
rick
8d236ccb84
add HTTP Token Authorization support to complement Basic and Digest Authorization.
2010-04-30 07:46:30 -07:00
José Valim
6b559474fb
Depend on the I18n 0.4.0.beta.
2010-04-30 16:22:18 +02:00
Norman Clarke
f0e754e713
Delegate Inflector.transliterate to i18n. [ #4508 state:resolved]
...
Ancillary changes: Moved Chars#normalize into a class method; removed
unused UTF_PAT constant.
Signed-off-by: José Valim <jose.valim@gmail.com>
2010-04-30 16:18:12 +02:00
Lawrence Pit
60504e62c8
to_xml with :include should skip_instruct on the included records [ #4506 state:resolved]
...
Signed-off-by: José Valim <jose.valim@gmail.com>
2010-04-30 14:22:57 +02:00
Neeraj Singh
a003a39bac
removing the extra assignment statement [ #4432 state:resolved]
...
Signed-off-by: José Valim <jose.valim@gmail.com>
2010-04-30 13:20:14 +02:00
Neeraj Singh
883f27aa9a
test cases for record.to_xml [ #458 state:resolved]
...
Signed-off-by: José Valim <jose.valim@gmail.com>
2010-04-30 13:19:30 +02:00
José Valim
34908e4a66
Updated the generators guide.
2010-04-30 12:50:42 +02:00
José Valim
cde168edbb
Update generators to use thor 0.13.6 with simpler source_root handling.
2010-04-30 12:42:12 +02:00
José Valim
7b98d2aa59
Reorganize the mailer generator a bit.
2010-04-30 12:11:38 +02:00
rohit
2c7f7738c3
more fixes and updated the changelog
2010-04-30 12:21:29 +05:30
rohit
0b41aa9b2c
fixes to tags section
2010-04-30 12:09:53 +05:30
rohit
7d0027554b
Rewrote Security para and a minor fix
2010-04-30 11:24:32 +05:30
Rohit Arondekar
0bd631419e
Rewrote para for clarity and better reading
2010-04-29 22:39:08 -07:00
Brian Durand
d2a49e4b1f
Update after_commit and after_rollback docs and tests to use new style API with an :on options instead of on_* suffix.
...
[#2991 ]
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
2010-04-29 18:26:19 -07:00
Carlhuda
c54c84b7b4
Move ActionMailer generator to AM
2010-04-29 16:45:57 -07:00
José Valim
b0a53c86ef
Update thor dependency to 0.13.5
2010-04-29 23:25:40 +02:00
Brian Durand
da840d13da
Add after_commit and after_rollback callbacks to ActiveRecord that are called after transactions either commit or rollback on all records saved or destroyed in the transaction.
...
[#2991 state:committed]
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
2010-04-29 12:24:15 -07:00
Jeremy Kemper
20f0e9f320
Fix docs typo: app.middlewares -> app.middleware
2010-04-29 11:43:09 -07:00
Jeremy Kemper
fef31be2bc
Add missing deprecation requires
2010-04-29 11:34:48 -07:00
Ben Orenstein
7c7e00b552
Small grammatical fix.
2010-04-29 12:46:10 -04:00
Ben Orenstein
f632df2828
Make output match code.
2010-04-29 12:41:56 -04:00
Ben Orenstein
90ef772ee6
Fix sentence fragment and improve wording in generated README.
2010-04-29 12:37:18 -04:00
Santiago Pastorino
199cb0f80b
as changes named routes, path is the appropriate option in this case
2010-04-29 12:02:02 -03:00
Tore Darell
8d0bdbf0b7
Change %5b ([) to %5d (]) in escaped URL
2010-04-29 15:06:31 +02:00
Tore Darell
c68ff4b27f
Replace send_data with send_file in "Sending files" example
2010-04-29 15:04:10 +02:00
Neeraj Singh
f4d174b211
making rake:migrate VERSION=0 a noop called in succession. [ #2137 state:resolved]
...
Signed-off-by: José Valim <jose.valim@gmail.com>
2010-04-29 13:41:35 +02:00
Neeraj Singh
68c96fad55
Fix form builder and form helpers inconsistencies [ #4432 state:resolved]
...
* datetime_select and select_datetime should be consistent as much as possible
* date_select and select_date should be consistent as much as possible
* time_select and select_time should be consistent as much as possible
Signed-off-by: José Valim <jose.valim@gmail.com>
2010-04-29 13:40:55 +02:00
José Valim
3dfcb56e45
ActiveRecord middlewares should be inserted before AD::Cascade [ #4493 state:resolved].
2010-04-29 13:24:35 +02:00
Ravinder Singh
e9a9ef094e
warn user if options are given before application name [ #3435 state:resolved]
...
Signed-off-by: José Valim <jose.valim@gmail.com>
2010-04-29 13:00:17 +02:00
Neeraj Singh
d793d30776
ActionCachingTestController rescues from all exceptions. Making sure that all the tests check for valid response. [ #4468 state:resolved]
...
Signed-off-by: José Valim <jose.valim@gmail.com>
2010-04-29 12:48:34 +02:00
José Valim
2e9af3638d
Move several configuration values from Hash to ActiveSupport::XmlMini, which both Hash and Array depends on.
...
Also, refactored ActiveModel serializers to just use ActiveSupport::XmlMini.to_tag. As consequence, if a serialized attribute is an array or a hash, it's not encoded as yaml, but as a hash or array.
2010-04-29 12:42:42 +02:00
José Valim
1bea5c755c
Ops. Rename performance to profiler.
2010-04-29 09:31:06 +02:00
Neeraj Singh
580dd3b052
array.to_xml should be able to handle all types of data elements [ #4490 state:resolved]
...
Signed-off-by: José Valim <jose.valim@gmail.com>
2010-04-29 09:04:34 +02:00
rohit
19e565d005
revert back to <b> tags instead of <strong> tags in the getting started guide
2010-04-29 12:30:01 +05:30
José Valim
1b816d5024
The rake task :environment now loads config/environment.rb instead of initializing the application on its own. This fixes [ #4492 state:resolved] and also avoids the application being initialized twice in some rake tasks.
2010-04-29 08:39:52 +02:00
Ernie Miller
e33d304975
Fix eager loading of associations causing table name collisions
...
[#4463 state:committed]
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
2010-04-28 20:28:51 -07:00
Jeremy Kemper
4e75cc59e7
object_id may be negative, producing an invalid symbol. h/t Markus Schirp
2010-04-28 15:20:35 -07:00
José Valim
209ab7e05b
Fix failing test.
2010-04-28 23:42:55 +02:00
Santiago Pastorino
3afa4847d9
failing test for: validates_acceptance_of overrides database fields
...
Signed-off-by: José Valim <jose.valim@gmail.com>
2010-04-28 23:35:13 +02:00
Santiago Pastorino
ce48b3103a
Makes validates_acceptance_of to not override database fields [ #4460 state:committed]
...
Signed-off-by: José Valim <jose.valim@gmail.com>
2010-04-28 23:12:03 +02:00