Commit Graph

10138 Commits

Author SHA1 Message Date
José Valim
ed33c29a4e Added class collision checks. 2009-06-25 11:56:18 +02:00
José Valim
4573fd2e06 Added observer generator. 2009-06-25 11:24:35 +02:00
José Valim
eaef1ee09c Make tests pass again after merge. 2009-06-25 10:44:46 +02:00
José Valim
5337766fa0 Tests for metal generator. 2009-06-25 10:39:44 +02:00
José Valim
f596495556 Tests for plugin generator. 2009-06-25 10:39:44 +02:00
José Valim
a748bb7961 Get base_name from class_name. 2009-06-25 10:39:43 +02:00
José Valim
0ed602b3ef Removed TODOs. 2009-06-25 10:39:43 +02:00
José Valim
ccd26575d1 Clean up plugin generator. 2009-06-25 10:39:43 +02:00
José Valim
b72d966707 Merge branch 'master' of git://github.com/rails/rails 2009-06-25 10:38:17 +02:00
Yehuda Katz + Carl Lerche
3aad4d7fbe Separate Rails module methods, the config object, and the initializer into separate files. 2009-06-23 16:10:43 -07:00
Yehuda Katz + Carl Lerche
ce9d9fda77 Resurrect threadsafe! 2009-06-23 14:49:04 -07:00
Yehuda Katz + Carl Lerche
042bd0a5c8 Tests pass, AWDoR passes, and a fresh app boots. 2009-06-23 14:49:04 -07:00
Yehuda Katz + Carl Lerche
9d398f4827 Got all the railties tests to pass, rails must boot! 2009-06-23 14:49:04 -07:00
Yehuda Katz + Carl Lerche
30baaac546 Fix the default frameworks 2009-06-23 14:49:04 -07:00
Yehuda Katz + Carl Lerche
9cfd1d4491 Get more tests to pass 2009-06-23 14:49:04 -07:00
Yehuda Katz + Carl Lerche
f2aea4d3ea Get initializer_test.rb to pass with the new initializer. 2009-06-23 14:49:03 -07:00
Yehuda Katz + Carl Lerche
a3309e4d70 Started making progress on implementing a new initializer.
Class.any_instance.expects(:require).raises(LoadError)
	... w0t
2009-06-23 14:49:03 -07:00
Yehuda Katz + Carl Lerche
99b8248f6e Initial initializer impl 2009-06-23 14:49:03 -07:00
Yehuda Katz + Carl Lerche
805369c8c8 Starting to write the new initializer 2009-06-23 14:49:03 -07:00
Yehuda Katz + Carl Lerche
1b844e4bf4 Passes in 1.9 2009-06-23 14:45:27 -07:00
Yehuda Katz
4417a19b03 Small changes to get 1.9 passing (for the most part) 2009-06-23 14:06:22 -07:00
José Valim
8843b91da7 Delete uneeded USAGE file. 2009-06-23 20:45:27 +02:00
José Valim
ea106cf051 Added plugin generators (and a couple of TODOs). 2009-06-23 20:42:29 +02:00
José Valim
d7bab3a43a Splitting base into several files. 2009-06-23 19:45:50 +02:00
José Valim
a7ba4b95e9 TestUnit, you have a home. 2009-06-23 19:27:46 +02:00
José Valim
4494a752c3 Change current sstructure. 2009-06-23 19:10:42 +02:00
José Valim
75fbd73936 Add GeneratedAttribute. 2009-06-23 18:12:37 +02:00
José Valim
d4ec091580 Removing template runner old specs. 2009-06-23 16:58:43 +02:00
José Valim
83f7fe2028 NamedBase. 2009-06-23 16:53:48 +02:00
José Valim
301c48c15c Added a generator file responsable for loading generator files. 2009-06-23 16:53:47 +02:00
José Valim
1845675822 Added metal generator. 2009-06-23 16:53:47 +02:00
José Valim
f03890e151 Use Rails generators files organization. 2009-06-23 16:53:47 +02:00
José Valim
04eb5b6e34 Use Rails default banner. 2009-06-23 16:53:47 +02:00
José Valim
0744900861 Merge branch 'master' of git://github.com/rails/rails 2009-06-23 16:52:39 +02:00
Yehuda Katz + Carl Lerche
80f1f863cd Revert "Generate proper :counter_sql from :finder_sql when there is a newline character immediately following 'SELECT' [#2118 state:resolved]"
This reverts commit 4851ca9e13a4317342df02ae25b1929340523f7a.

The tests do not pass for postgresql.
2009-06-22 12:04:02 -07:00
Patrick Joyce
4851ca9e13 Generate proper :counter_sql from :finder_sql when there is a newline character immediately following 'SELECT' [#2118 state:resolved]
Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
2009-06-21 22:07:23 +01:00
Joseph Wilk
eb30e4ca40 Fixed a bug where create_table could not be called without a block [#2221 state:resolved]
Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
2009-06-21 19:51:32 +01:00
Brian Hogan
b26c2c11ab Ensure table names are quoted while renaming for sqlite3 adapter [#2272 state:resolved]
Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
2009-06-21 18:24:19 +01:00
=?utf-8?q?Mislav=20Marohni=C4=87?=
21cd4c0e93 Fix polymorphic_path doesn't modify options hash [#2099 state:resolved]
Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
2009-06-21 17:53:07 +01:00
mattbauer
83c1934003 Ensure hm:t#create respects source associations hash conditions [#2090 state:resolved]
Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
2009-06-21 17:35:04 +01:00
Darragh Curran
9cb8c812f2 Add content_for?(:name) helper to check if content_for(:name) is present [#1311 state:resolved]
Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
2009-06-21 17:07:22 +01:00
Pratik Naik
66eb05821b Use stubbing instead of sleep() in File store cache tests 2009-06-21 15:25:28 +01:00
Pratik Naik
b5775c2b3e Add expiry support File cache store [#1693 state:resolved] [Roman Shterenzon, Pratik Naik] 2009-06-21 15:25:28 +01:00
José Valim
6dd196914c Remove class level conditions and ensure that RAILS_GEM_VERSION is commented when freeze. 2009-06-20 22:04:34 +02:00
José Valim
2c3ebc00b7 More tests to app generator. 2009-06-20 16:58:15 +02:00
José Valim
181feecfb9 First stub at app generators test. 2009-06-20 15:43:25 +02:00
José Valim
68739eed57 Skip Rails::VERSION warnings. 2009-06-19 16:19:15 +02:00
José Valim
631deb5992 Removing duplicated files. 2009-06-19 16:14:49 +02:00
José Valim
5b8fe9c4c7 Moving tests to new generators schema. 2009-06-19 16:11:55 +02:00
José Valim
9dd1e2f2b0 Starting test structure. 2009-06-19 16:11:55 +02:00