Permalink
Browse files

Oh yea, make it work too.

  • Loading branch information...
nakajima committed Jun 20, 2010
1 parent 5431b30 commit 65bd370c64548f61d5e9e41c401946d0fe53b08f
Showing with 1 addition and 1 deletion.
  1. +1 −1 app/models/bookmarklet.rb
@@ -1,6 +1,6 @@
class Bookmarklet < ActiveRecord::Base
validates_presence_of :name
- validates_presence_of :code
+ validates_presence_of :code_without_jquery
validate :spam_check, :if => :spam?
before_save :highlight_code!, :if => :code?

0 comments on commit 65bd370

Please sign in to comment.