-
Type: Task
-
Resolution: Done
-
Affects Version/s: None
-
Component/s: None
after_validation in the Model is running twice.
I had to use before_create instead.
bundle list Gems included by the bundle: * actionmailer (4.2.1) * actionpack (4.2.1) * actionview (4.2.1) * activejob (4.2.1) * activemodel (4.2.1) * activerecord (4.2.1) * activesupport (4.2.1) * arel (6.0.0) * awesome_print (1.6.1) * better_errors (2.1.1) * bson (2.3.0) * bson_ext (1.5.1) * builder (3.2.2) * bundler (1.9.1) * callsite (0.0.11) * celluloid (0.16.0) * coderay (1.1.0) * connection_pool (2.1.3) * customlogger (0.0.9) * database_cleaner (1.4.1) * diff-lcs (1.2.5) * docile (1.1.5) * erubis (2.7.0) * fabrication (2.12.2) * faker (1.4.3) * ffi (1.9.8) * formatador (0.2.5) * gibberish (1.4.0) * globalid (0.3.3) * guard (2.12.5) * guard-compat (1.2.1) * guard-rspec (4.5.0) * hike (1.2.3) * hitimes (1.2.2) * i18n (0.7.0) * json (1.8.2) * listen (2.9.0) * loofah (2.0.1) * lumberjack (1.0.9) * mail (2.6.3) * meta_request (0.3.4) * method_source (0.8.2) * mime-types (2.4.3) * mini_portile (0.6.2) * minitest (5.5.1) * mongoid (4.0.2) * mongoid-rspec (2.2.0) * moped (2.0.4) * multi_json (1.11.0) * nenv (0.2.0) * nokogiri (1.6.6.2) * notiffany (0.0.6) * optionable (0.2.0) * origin (2.1.1) * pry (0.10.1) * puma (2.11.1) * rack (1.6.0) * rack-contrib (1.2.0) * rack-test (0.6.3) * rails (4.2.1) * rails-api (0.4.0) * rails-deprecated_sanitizer (1.0.3) * rails-dom-testing (1.0.6) * rails-html-sanitizer (1.0.2) * railties (4.2.1) * rake (10.4.2) * rb-fsevent (0.9.4) * rb-inotify (0.9.5) * rspec (3.2.0) * rspec-core (3.2.2) * rspec-expectations (3.2.0) * rspec-mocks (3.2.1) * rspec-rails (3.2.1) * rspec-support (3.2.2) * shellany (0.0.1) * shoulda-matchers (2.8.0) * simplecov (0.9.2) * simplecov-html (0.9.0) * slop (3.6.0) * spring (1.3.3) * spring-commands-rspec (1.0.4) * sprockets (2.12.3) * sprockets-rails (2.2.4) * thor (0.19.1) * thread_safe (0.3.5) * tilt (1.4.1) * timers (4.0.1) * tzinfo (1.2.2)