1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
Commit graph

8 commits

Author SHA1 Message Date
Marc-Andre Lafortune
eeb58b0934 Generate valid default fixtures for models with a type column
Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
2011-07-11 19:47:57 -03:00
José Valim
08983fefd5 Attributes on scaffold and model generators default to string.
This allows the following: "rails g scaffold Post title body:text author"
2011-06-17 15:10:53 -03:00
Akira Matsuda
4d1752bfb2 generate HTML5 number_field tag for integer fields 2011-05-16 23:45:39 +09:00
José Valim
757bbd540c :'' is not valid ruby. 2010-10-02 18:30:38 +02:00
rohit
8ffa695cec Failing test for GeneratedAttribute [#5461 state:open]
Signed-off-by: José Valim <jose.valim@gmail.com>
2010-09-02 12:59:21 +02:00
Jeff Kreeftmeijer
d93b45e8d3 Rails::Generators::GeneratedAttribute: tests, cleanups and a bugfix [#4631 state:resolved]
Signed-off-by: José Valim <jose.valim@gmail.com>
2010-06-10 20:04:49 +02:00
José Valim
1a2d556de7 Rename assert_attribute_type to asser_field_type. 2010-05-16 12:07:44 +02:00
Jeff Kreeftmeijer
5ff6de0982 Added assert_attribute_type to clean up GeneratedAttributeTest [#2377 state:resolved]
Signed-off-by: José Valim <jose.valim@gmail.com>
2010-05-16 12:07:22 +02:00