Joshua Peek
|
1f0aecd931
|
Allow custom rails generators to pass in their own binding to Create command so that the corresponding erb templates get rendered with the proper binding [#1493 state:resolved]
|
2008-12-28 15:10:41 -06:00 |
|
Jeremy McAnally
|
e8cc4b116c
|
Add "-m/--template" option to Rails generator to apply template to generated application.
Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
|
2008-12-02 19:39:11 +01:00 |
|
Joshua Peek
|
9ab83b1cd1
|
Don't include the path when checking class collisions [#545 state:resolved]
|
2008-10-13 21:43:58 -05:00 |
|
Nik Wakelin
|
bbab639136
|
Set config.active_record.timestamped_migrations = false to have migrations with numeric prefix instead of UTC timestamp. [#446 state:resolved]
Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
|
2008-07-17 02:54:45 +01:00 |
|
Joshua Peek
|
f522a89d64
|
Revert "Fixed generator collisions for nested controller modules."
This reverts commit 2d372d704987e05712ccd937e78d8dbd41242efe.
|
2008-07-11 12:05:02 -05:00 |
|
Carl Porth
|
a81f16af31
|
Ensure Rails::Generator quotes file names while generating diff. [#264 state:resolved]
Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
|
2008-07-02 03:28:02 +01:00 |
|
David Heinemeier Hansson
|
9b75483bf3
|
Added better error message for when the class name is already used (and dont show suggestions if there are none)
|
2008-05-31 15:51:01 -07:00 |
|
Amol Hatwar
|
2d372d7049
|
Fixed generator collisions for nested controller modules.
Signed-off-by: Joshua Peek <josh@joshpeek.com>
|
2008-05-13 16:02:56 -05:00 |
|
Jeremy Kemper
|
2681d55e40
|
Update generator tests. Closes #11487 [thechrisoshow]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9176 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-04-01 00:29:24 +00:00 |
|
David Heinemeier Hansson
|
c00de99f69
|
Switched to UTC-timebased version numbers for migrations and the schema. This will as good as eliminate the problem of multiple migrations getting the same version assigned in different branches. Also added rake db:migrate:up/down to apply individual migrations that may need to be run when you merge branches (closes #11458) [jbarnette]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9122 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-28 21:21:01 +00:00 |
|
Jeremy Kemper
|
7527447ba1
|
Git support for script/generate. Closes #10690.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8772 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-02-02 02:55:14 +00:00 |
|
Jeremy Kemper
|
3642a4d6f8
|
Resurrect WordNet synonym lookups. Closes #10710.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8615 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-01-10 02:50:43 +00:00 |
|
Rick Olson
|
14f6440ed6
|
Correct indentation in a couple spots. Closes #10671 [l.guidi, rick]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8527 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-01-02 19:24:44 +00:00 |
|
Jeremy Kemper
|
b1ce7e4d4a
|
Ruby 1.9 compat: File.exists\? -> File.exist\? en masse. References #1689 [Pratik Naik]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8365 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-10 05:54:46 +00:00 |
|
David Heinemeier Hansson
|
d6f49e4af1
|
Fixed incorrect migration number if script/generate executed outside of Rails root (closes #7080) [jeremymcanally]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7963 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-10-18 15:54:01 +00:00 |
|
David Heinemeier Hansson
|
c8d9a07a00
|
Added better documentation for generator overwrite options (closes #9842) [wincet]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7837 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-10-11 15:15:32 +00:00 |
|
David Heinemeier Hansson
|
e3b49c052b
|
Fixed spelling errors (closes #9706) [tarmo/rmm5t]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7666 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-09-28 14:18:47 +00:00 |
|
David Heinemeier Hansson
|
21187c0fb4
|
Apply the rest of Chads patch
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6180 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-02-21 00:29:44 +00:00 |
|
Jeremy Kemper
|
47f99584b3
|
Generator: use destination path for diff tempfiles. Closes #7015.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5914 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-01-13 04:09:18 +00:00 |
|
Rick Olson
|
29ec023add
|
Fix scaffold_resource generator so it respects the --pretend argument when creating the routes file. Closes #6852 [fearoffish]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5790 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-12-26 19:39:30 +00:00 |
|
Jeremy Kemper
|
868d9f5a2c
|
Generator can show diff on file collision to help you decide whether to skip or overwrite. Closes #6364.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5397 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-11-02 08:36:41 +00:00 |
|
Jeremy Kemper
|
4bd64363c1
|
Generated directories are recursively svn added, like mkdir -p. Closes #6416.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5395 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-11-02 07:55:04 +00:00 |
|
Jeremy Kemper
|
c5dcec789e
|
resource and scaffold_resource generators add a restful route to config/routes.rb
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5379 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-11-01 01:57:06 +00:00 |
|
Marcel Molina
|
6186490962
|
Replace Ruby's deprecated append_features in favor of included. [Marcel Molina Jr.]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4310 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-04-29 18:10:14 +00:00 |
|
Scott Barron
|
8935209629
|
Don't raise when the migration file is missing or it'll stop destroy model in
the middle if there is no matching migration file.
Closes #4426
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4057 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-03-26 22:15:19 +00:00 |
|
David Heinemeier Hansson
|
5f4f4b03f2
|
Fix for destroying migrations made when generating a model (closes #4246) [tomtoday@gmail.com]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3971 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-03-19 06:06:20 +00:00 |
|
David Heinemeier Hansson
|
647130d7ff
|
Added collision option to template generation in generators (closes #3329) [anna@wota.jp]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3663 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-02-26 01:12:58 +00:00 |
|
David Heinemeier Hansson
|
1aea4704dc
|
Added tmp/sessions, tmp/cache, and tmp/sockets as default directories in the Rails skeleton [DHH] Changed the default session configuration to place sessions in tmp/sessions, if that directory is available, instead of /tmp (this essentially means a goodbye to 9/10 White Screen of Death errors and should have web hosting firms around the world cheering) [DHH] Added a default configuration of the FileStore for fragment caching if tmp/cache is available, which makes action/fragment caching ready to use out of the box with no additional configuration [DHH] Changed the default configuration for lighttpd to use tmp/sockets instead of log/ for the FastCGI sockets [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3645 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-02-25 20:26:14 +00:00 |
|
Marcel Molina
|
30c6bd9b31
|
Make migration generator only report on exact duplicate names, not partial dupliate names. Closes #3442.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3413 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-01-13 09:26:53 +00:00 |
|
Jeremy Kemper
|
b056adf03b
|
Fix shebang handling for empty files. References #2927.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3258 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-12-09 18:47:23 +00:00 |
|
Jeremy Kemper
|
3fb5828621
|
Generator copies files in binary mode. References #3156.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3256 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-12-09 18:36:34 +00:00 |
|
Jeremy Kemper
|
c2bb269cd5
|
Allows generator to specify migrations directory. References #2960.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3101 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-11-20 05:13:59 +00:00 |
|
Jeremy Kemper
|
9b9578fa47
|
Introducing the session_migration generator. Creates an add_session_table migration. References #2958.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3098 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-11-20 04:21:06 +00:00 |
|
Jeremy Kemper
|
db871c8d54
|
Eliminate nil from newly generated logfiles. References #2927.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3081 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-11-18 05:28:00 +00:00 |
|
Marcel Molina
|
24b9d2fe71
|
Backing out of #2496. Comparing md5 checksums is in no way faster than doing a direct compare. Benchmarks help.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2497 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-10-08 20:12:16 +00:00 |
|
Marcel Molina
|
d94994867f
|
Compare md5 checksums of files rather than files themselves, as it's far faster for large files (like logs).
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2496 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-10-08 19:03:08 +00:00 |
|
Marcel Molina
|
6b59011862
|
Skip directories when checking for identical source and destination files.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2495 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-10-08 18:57:14 +00:00 |
|
Marcel Molina
|
a7cdaadd19
|
Evaluate dynamic templates before checking if the new file is identical to the old one.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2494 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-10-08 18:40:00 +00:00 |
|
Marcel Molina
|
d451044ece
|
Make the generator skip a file if it already exists and is identical to the new file.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2493 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-10-08 16:56:36 +00:00 |
|
David Heinemeier Hansson
|
72ef2bed01
|
Fixed missing ds
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2188 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-09-11 06:26:38 +00:00 |
|
David Heinemeier Hansson
|
b33557b622
|
Added -c/--svn option to the generator that'll add new files and remove destroyed files using svn add/revert/remove as appropriate #2064 [kevin.clark@gmail.com]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2174 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-09-09 09:02:55 +00:00 |
|
David Heinemeier Hansson
|
83efffbcf6
|
Fix module support for controller generators #668 [Ulysses]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@691 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-02-19 16:41:39 +00:00 |
|
David Heinemeier Hansson
|
daee6fd92a
|
Added new generator framework that informs about its doings on generation and enables updating and destruction of generated artifacts. See the new script/destroy and script/update for more details #487 [bitsweat]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@518 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-02-07 13:14:05 +00:00 |
|