Smart Phone Tools
About ruby on rails, hackintosh, iphone3g and etc.
Thursday, November 19, 2009
Rails Model Generate and Destroy
Sometimes for beginner's to Rails, generating model and not knowing how to delete or remove the unwanted model.
To generate a model called cart:
script/generate model cart
To remove this model called cart:
script/destroy model cart
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
Blog Archive
►
2010
(3)
►
February
(1)
►
January
(2)
▼
2009
(45)
►
December
(6)
▼
November
(2)
Rails Model Generate and Destroy
Cannot install rails. Set that proxy.
►
October
(4)
►
September
(1)
►
August
(1)
►
May
(4)
►
April
(4)
►
March
(2)
►
February
(9)
►
January
(12)
►
2008
(6)
►
October
(6)
No comments:
Post a Comment