You are viewing a read-only archive of the Blogs.Harvard network. Learn more.

Sarcastic Catchphrase… Not!

March 19th, 2013

I can already tell that .not is going to be my new favorite thing in rails 4.

i.e.
Article.where.not(name: "Hello")

That is all.

Entry Filed under: Professional,Ruby on Rails

Leave a Comment

Required

Required, hidden

Some HTML allowed:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>