José Valim
6f0ed7aa52
Update generators test.
2010-05-15 15:21:14 +02:00
wycats
9cfeefb637
Reorganized initializers a bit to enable better hooks for common cases without the need for Railtie. Specifically, the following hooks were added:
...
* before_configuration: this hook is run immediately after the Application class
comes into existence, but before the user has added any configuration. This is
the appropriate place to set configuration for your plugin
* before_initialize: This is run after all of the user's configuration has completed,
but before any initializers have begun (in other words, it runs right after
config/environments/{development,production,test}.rb)
* after_initialize: This is run after all of the initializers have run. It is an
appropriate place for forking in a preforking setup
Each of these hooks may be used via ActiveSupport.on_load(name) { }. In all these cases, the context inside the block will be the Application object. This means that for simple cases, you can use these hooks without needing to create a Railtie.
2010-05-15 06:09:07 -07:00
Jeroen van Dijk + Rodrigo Urubatan
80fc6536bd
Added Rake task rails:templates:copy to copy templates for customization [ #4574 state:resolved]
...
Signed-off-by: José Valim <jose.valim@gmail.com>
2010-05-15 14:59:29 +02:00
Adrian Sanchez
bcf5fea5e5
Bundler deprecated options in Gemfile with application template using method "gem" [ #4534 state:resolved]
...
Signed-off-by: José Valim <jose.valim@gmail.com>
2010-05-15 09:43:20 +02:00
Xavier Noria
2203c781a7
defines prev_(month|year) in Date and Time to ease transition to 1.9, and deprecates last_(month|year)
2010-05-12 23:04:17 +02:00
Xavier Noria
e1a0d86fe0
Merge remote branch 'rails/master'
2010-05-09 11:46:45 +02:00
Xavier Noria
1ff3d951e6
AS guide: more date calculation utilities
2010-05-09 12:45:21 +03:00
Xavier Noria
08d991ad40
AS guide: you know, the 10th is not November
2010-05-09 11:44:22 +03:00
Xavier Noria
345c38a527
AS guide: adds a catchall note about date calculations around the calendar reform
2010-05-09 11:41:13 +03:00
Santiago Pastorino
c31b386a88
Updates bundler information, now bundler has a homepage
2010-05-08 21:41:41 -03:00
Xavier Noria
7a5aa35ed0
AS guide: documents some Date calculations (calendar reform details pending)
2010-05-09 02:29:02 +03:00
Rohit Arondekar
2cc1686bda
migration, correct file and created a code sample out of it.
2010-05-07 00:03:16 -07:00
Rohit Arondekar
d3e405cdbc
Migrations, rewrote a sentence for clarity.
2010-05-06 20:33:24 -07:00
Carl Lerche
6d7f2790cd
Expand paths to app builders relative to the working directory
2010-05-06 12:02:54 +03:00
Anil Wadghule
6071b4720c
Updated guide to inform issues with unsupported Ruby versions.
2010-05-06 01:26:25 +05:30
wycats
743d77f405
Update hidden namespace mechanism to work better with alternate choices and to support full namespaces (not just entire groups)
2010-05-05 10:12:33 +02:00
Brian Lopez
bf2ee89659
add support for mysql2 adapter to dbconsole
...
[#4532 state:committed]
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
2010-05-04 15:47:08 -07:00
Josiah Ivey
0dd3b4630f
image_tag should be audio_tag, and change typo 'image' to 'audio file'
2010-05-04 19:31:41 +02:00
mica eked
d5e3c49478
typo "<image />" -> "<img />", and typo 'follow' -> 'following'
2010-05-04 19:31:40 +02:00
logylaps
d38b4771f1
typo 'main.cs' -> 'main.css', and textile typo 'h6(:has_many-group)' -> 'h6(#has_many-group)', and typo. missing 'if'
2010-05-04 19:31:32 +02:00
Joe Hannon
c8d03fbe9b
grammatical error 'uses' -> 'use'
2010-05-04 19:24:40 +02:00
Lawrence Pit
9bd91b00b8
Favor %{} in all code instead of (deprecated) {{}} as interpolation syntax for I18n
...
Signed-off-by: José Valim <jose.valim@gmail.com>
2010-05-03 13:37:32 +02:00
José Valim
8ae9b05fa0
Make backtrace_cleaner work as expected. Prior to this patch, the Full Trace rarely showed the full trace. Also, increase performance considerably.
2010-05-03 12:59:48 +02:00
Justin George
731d4392e4
Change event namespace ordering to most-significant first [ #4504 state:resolved]
...
More work still needs to be done on some of these names
(render_template.action_view and render_template!.action_view particularly)
but this allows (for example) /^sql/ to subscribe to all
the various ORMs without further modification
Signed-off-by: José Valim <jose.valim@gmail.com>
2010-05-02 22:45:54 +02:00
Xavier Noria
efba1d4227
Merge commit 'rails/master'
...
Conflicts:
railties/guides/source/index.html.erb
2010-05-01 02:23:47 -07:00
Carl Lerche
95c98799a4
Fix a bug in the generators from the previous commit
2010-04-30 16:32:18 -07:00
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
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
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
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
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