ecm_pictures 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -7,6 +7,9 @@ class Ecm::Pictures::Picture < ActiveRecord::Base
7
7
  # acts as list
8
8
  acts_as_list :scope => :picture_gallery
9
9
 
10
+ # default scope
11
+ default_scope :order => "picture_gallery_id, position"
12
+
10
13
  # friendly id
11
14
  extend FriendlyId
12
15
  friendly_id :name, :use => :slugged
@@ -1,5 +1,5 @@
1
1
  module Ecm
2
2
  module Pictures
3
- VERSION = "0.0.2"
3
+ VERSION = "0.0.3"
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.2
5
+ version: 0.0.3
6
6
  platform: ruby
7
7
  authors:
8
8
  - Roberto Vasquez Angel