Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

raise_on_save_failre = false only works for development environment #11

Open
eLod opened this Issue Mar 17, 2011 · 0 comments

Comments

Projects
None yet
1 participant

eLod commented Mar 17, 2011

The railtie sets ::Sequel::Model.raise_on_save_failure = false (in config.after_initialize block at sequel-rails/railtie), but except for development environment the models are already loaded at this stage, thus all the models have raise_on_save_failure set to true.

iblue pushed a commit to blacklane/sequel-rails that referenced this issue Aug 15, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment