rostra 0.1.24 → 0.1.25

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -17,7 +17,7 @@ module Rostra
17
17
  validates :title, presence: true, uniqueness: true, length: { :minimum => 15 }
18
18
  validates_presence_of :user, :slug, :tag_list
19
19
 
20
- before_save :create_question_following
20
+ before_create :create_question_following
21
21
  attr_accessor :follow_by_email
22
22
 
23
23
  # Set number of questions per page for will paginate
@@ -2,7 +2,7 @@ module Rostra
2
2
  module TimestampObserver
3
3
 
4
4
  def self.included(base)
5
- base.after_save :set_active_at
5
+ base.after_create :set_active_at
6
6
  end
7
7
 
8
8
  private
@@ -1,3 +1,3 @@
1
1
  module Rostra
2
- VERSION = "0.1.24"
2
+ VERSION = "0.1.25"
3
3
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: rostra
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.1.24
5
+ version: 0.1.25
6
6
  platform: ruby
7
7
  authors:
8
8
  - Cory Schires
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2011-11-15 00:00:00 Z
13
+ date: 2011-11-16 00:00:00 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rails