mas-rad_core 0.0.37 → 0.0.38

Sign up to get free protection for your applications and to get access to all the features.
@@ -12,7 +12,7 @@ FactoryGirl.define do
12
12
  firm
13
13
 
14
14
  before(:create) { |a| a.class.skip_callback(:save, :after, :geocode) }
15
- after(:create) { |a| a.class.set_callback(:save, :after, :geocode, if: :geocode?) }
15
+ after(:create) { |a| a.class.set_callback(:save, :after, :geocode, if: :valid?) }
16
16
 
17
17
  after(:build) do |a|
18
18
  if a.reference_number?
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mas-rad_core
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.37
4
+ version: 0.0.38
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben Lovell