Coder Social home page Coder Social logo

encrypted_strings'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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

encrypted_strings's Issues

Gem maintenance

Hello,

this gem seems unmaintained because:

  • no commit since 2011
  • no answer on issue and PR since >1y

yet the gem is used by many other open source projects (directly or undirectly)

@obrie you are the owner (last committer at least). Would you be ok to transfer the ownership of the gem (especially the abiilyt to push to rubygems.org) to someone else?

Thanks in advance.

Missing require 'active_record' in encrypted_strings.rb?

Brandon Valentine opened this issue

In several of the encryptor modules you call cattr_accessor which is an ActiveRecord method. On my system I get a dependency error when including encrypted_attributes (which includes encrypted_strings) into a Rails app unless I add require ’active_record’ to encrypted_strings.rb.

I am running Rails 2.0.2 on Ruby 1.8.6 on Mac OS X 10.5.4. Rails is installed via gem as is encrypted_strings (and encrypted_attributes). I have the following in my environment.rb:

@@@
require ’rubygems’
require ’encrypted_attributes’
@@@

If I try to run ./script/console (or any other Rails command) I get:

@@@
% ./script/console
Loading development environment (Rails 2.0.2)
/Library/Ruby/Gems/1.8/gems/encrypted_strings-0.0.4/lib/encrypted_strings/symmetric_encryptor.rb:44:NoMethodError: undefined method cattr_accessor’ for PluginAWeek::EncryptedStrings::SymmetricEncryptor:Class /Library/Ruby/Gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:88:NoMethodError: undefined methodcattr_accessor’ for ActionController::Dispatcher:Class
@@@

Adding require ’active_record’ to the top of encrypted_strings.rb fixes it for me. Not sure if this is the correct fix, but it does seem to be working.

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.