Coder Social home page Coder Social logo

encrypted_attributes's People

Contributors

obrie avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

encrypted_attributes's Issues

Undefined method 'callback' in Rails 3 beta 3

Igor Pstyga opened this issue

Hello,

I catched following exception in Rails 3 env:

@@@
ruby-head > user = User.new(:attr1 => "000000010010")
ruby-head > user.attr1
=> "000000010010"
ruby-head > user.valid?
NoMethodError: undefined method callback&rsquo; for #<User:0x0000010c845a78> from ~/.rvm/gems/ruby-head/bundler/gems/rails-16a5e918a06649ffac24fd5873b875daf66212ad-master/activemodel/lib/active_model/attribute_methods.rb:358:inmethod_missing’
from ~/.rvm/gems/ruby-head/bundler/gems/rails-16a5e918a06649ffac24fd5873b875daf66212ad-master/activerecord/lib/active_record/attribute_methods.rb:45:in method_missing&rsquo; from ~/.rvm/gems/ruby-head/gems/encrypted_attributes-0.4.1/lib/encrypted_attributes.rb:165:inwrite_encrypted_attribute’
from ~/.rvm/gems/ruby-head/gems/encrypted_attributes-0.4.1/lib/encrypted_attributes.rb:133:in block (2 levels) in encrypts&rsquo; from ~/.rvm/gems/ruby-head/bundler/gems/rails-16a5e918a06649ffac24fd5873b875daf66212ad-master/activesupport/lib/active_support/callbacks.rb:409:in_run_validation_callbacks’
from ~/.rvm/gems/ruby-head/bundler/gems/rails-16a5e918a06649ffac24fd5873b875daf66212ad-master/activerecord/lib/active_record/callbacks.rb:274:in valid?&rsquo; from (irb):4 from ~/.rvm/gems/ruby-head/bundler/gems/rails-16a5e918a06649ffac24fd5873b875daf66212ad-master/railties/lib/rails/commands/console.rb:47:instart’
from ~/.rvm/gems/ruby-head/bundler/gems/rails-16a5e918a06649ffac24fd5873b875daf66212ad-master/railties/lib/rails/commands/console.rb:8:in start&rsquo; from ~/.rvm/gems/ruby-head/bundler/gems/rails-16a5e918a06649ffac24fd5873b875daf66212ad-master/railties/lib/rails/commands.rb:23:in<top (required)>’
from script/rails:9:in require&rsquo; from script/rails:9:in


@@@

original LH ticket

This ticket has 0 attachment(s).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.