GithubHelp home page GithubHelp logo

sugilog / active_record_handlersocket Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 1.0 792 KB

HandlerSocket for ActiveRecord.Easy-to-use handlersocket from existing ActiveRecord Models

License: MIT License

Ruby 100.00%

active_record_handlersocket's People

Contributors

sugilog avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Forkers

digideskio

active_record_handlersocket's Issues

ActiveRecord establish_connection Deprecation warning

on ActiveRecord 4

DEPRECATION WARNING:
Passing a string to ActiveRecord::Base.establish_connection for a configuration lookup is deprecated,
please pass a symbol (:base) instead.
(called from <top (required)> at active_record_handlersocket/spec/configuration.rb:25)

Logging support

Logging support like ActiveRecord::Base logger for debug.

hsfind_multi_by with multi column index

Finding records with hsfind_multi using multi column index raise error.

>> Person.hsfind_multi_by_age([36, 1])
TypeError: can't convert Array into String
        from /home/admin/workspace/active_record_handlersocket/lib/active_record_handlersocket/finder.rb:40:in `execute_multi'
        from /home/admin/workspace/active_record_handlersocket/lib/active_record_handlersocket/finder.rb:40:in `hsfind'
        from /home/admin/workspace/active_record_handlersocket/lib/active_record_handlersocket/finder.rb:11:in `method_missing'
        from /home/admin/workspace/active_record_handlersocket/vendor/ruby/1.8/gems/activerecord-2.3.18/lib/active_record/base.rb:2002:in `method_missing'
        from (irb):3

RSpec Deprecation warning

on RSpec 3

Deprecation Warnings:

Using `stub` from rspec-mocks' old `:should` syntax without explicitly enabling the syntax is deprecated.
Use the new `:expect` syntax or explicitly enable `:should` instead.
Called from active_record_handlersocket/spec/cases/finder_spec.rb:356:in `block (4 levels) in <top (required)>'.


If you need more of the backtrace for any of these deprecations to
identify where to make the necessary changes, you can configure
`config.raise_errors_for_deprecations!`, and it will turn the
deprecation warnings into errors, giving you the full backtrace.

1 deprecation warning total

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.