heapsource/active_model_otp — pull request #9 by ilanstern (2014-07-18 03:29:59+00:00)
Title: Avoid overriding predefined otp_column value when initializing resource

Currently there is no way of predefining a value for the otp_column as it is being overridden by the before_create callback.

Use case: admin user that creates other users, can only have access to the code when creating those users. If the code is generated on an after_create callback, it has to be visible on other views (besides resource.new) in order to have access to the code.