examples/sample_app/dist/app/models/post.rb in merb-0.0.4 vs examples/sample_app/dist/app/models/post.rb in merb-0.0.5
- old
+ new
@@ -1,13 +1,4 @@
class Post < ActiveRecord::Base
-end
+ has_many :comments
-=begin
-CREATE TABLE `posts` (
- `id` int(11) NOT NULL auto_increment,
- `title` varchar(255),
- `body` text,
- `created_at` datetime default NULL,
- `updated_at` datetime default NULL,
- PRIMARY KEY (`id`)
-) ENGINE=InnoDB
-=end
\ No newline at end of file
+end