Displaying 1 result from an estimated 1 matches for "seen_at".
Did you mean:
seen_
2013 Mar 11
0
Any interest in various features from "schema_plus" gem?
...iew :uncommented_posts, "SELECT * FROM posts LEFT OUTER JOIN
comments ON comments.post_id = posts.id WHERE comments.id IS NULL"
And a few other smaller things:
drop_table :table_name, if_exists: true, cascade: true # :if_exists
and :cascade options to drop_table
t.datetime :seen_at, default: { expr: ''NOW()'' } #
default expressions
post.update_attributes(category: ActiveRecord::DB_DEFAULT) #
instruct rails to use the
Cheers,
-ronen
--
You received this message because you are subscribed to the Google Groups "...