ecm_pictures 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -21,5 +21,6 @@ class Ecm::Pictures::Picture < ActiveRecord::Base
21
21
  attr_accessible :description, :image, :name, :picture_gallery_id
22
22
 
23
23
  # validations
24
- validates :image, :attachment_presence => true
24
+ # validates :image, :attachment_presence => true
25
+ validates_attachment_presence :image
25
26
  end
@@ -1,5 +1,5 @@
1
1
  module Ecm
2
2
  module Pictures
3
- VERSION = "0.0.4"
3
+ VERSION = "0.0.5"
4
4
  end
5
5
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: ecm_pictures
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.0.4
5
+ version: 0.0.5
6
6
  platform: ruby
7
7
  authors:
8
8
  - Roberto Vasquez Angel