Git Product home page Git Product logo

chemistry_rails's People

Contributors

alexined avatar radilr1 avatar sgerov avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

chemistry_rails's Issues

ortographical error

I am using your gem, but there is an ortographical error in the vanadium name, because the creators have written venadium instead.

I hope it will be corrected as soon as possible because I need it on my web application.

Thanks!!

Error installing gem?

Hi, I think this is a great project, but I'm having some trouble installing the gem. When I run rake db:migrate I get this, and it's caused by the chemistry_rails gem

rake aborted!
LoadError: cannot load such file -- chemistry_rails/orm/activerecord
/home/hassan/.rvm/gems/ruby-1.9.3-p547/gems/activesupport-4.1.4/lib/active_support/dependencies.rb:247:in require' /home/hassan/.rvm/gems/ruby-1.9.3-p547/gems/activesupport-4.1.4/lib/active_support/dependencies.rb:247:inblock in require'
/home/hassan/.rvm/gems/ruby-1.9.3-p547/gems/activesupport-4.1.4/lib/active_support/dependencies.rb:232:in load_dependency' /home/hassan/.rvm/gems/ruby-1.9.3-p547/gems/activesupport-4.1.4/lib/active_support/dependencies.rb:247:inrequire'
/home/hassan/.rvm/gems/ruby-1.9.3-p547/gems/chemistry_rails-0.1.2/lib/chemistry_rails.rb:160:in block (2 levels) in <class:Railtie>' /home/hassan/.rvm/gems/ruby-1.9.3-p547/gems/activesupport-4.1.4/lib/active_support/lazy_load_hooks.rb:38:ininstance_eval'
/home/hassan/.rvm/gems/ruby-1.9.3-p547/gems/activesupport-4.1.4/lib/active_support/lazy_load_hooks.rb:38:in execute_hook' /home/hassan/.rvm/gems/ruby-1.9.3-p547/gems/activesupport-4.1.4/lib/active_support/lazy_load_hooks.rb:28:inblock in on_load'
/home/hassan/.rvm/gems/ruby-1.9.3-p547/gems/activesupport-4.1.4/lib/active_support/lazy_load_hooks.rb:27:in each' /home/hassan/.rvm/gems/ruby-1.9.3-p547/gems/activesupport-4.1.4/lib/active_support/lazy_load_hooks.rb:27:inon_load'
/home/hassan/.rvm/gems/ruby-1.9.3-p547/gems/chemistry_rails-0.1.2/lib/chemistry_rails.rb:159:in block in <class:Railtie>' /home/hassan/.rvm/gems/ruby-1.9.3-p547/gems/railties-4.1.4/lib/rails/initializable.rb:30:ininstance_exec'
/home/hassan/.rvm/gems/ruby-1.9.3-p547/gems/railties-4.1.4/lib/rails/initializable.rb:30:in run' /home/hassan/.rvm/gems/ruby-1.9.3-p547/gems/railties-4.1.4/lib/rails/initializable.rb:55:inblock in run_initializers'
/home/hassan/.rvm/gems/ruby-1.9.3-p547/gems/railties-4.1.4/lib/rails/initializable.rb:54:in run_initializers' /home/hassan/.rvm/gems/ruby-1.9.3-p547/gems/railties-4.1.4/lib/rails/application.rb:300:ininitialize!'
/home/hassan/chemistry/config/environment.rb:5:in <top (required)>' /home/hassan/.rvm/gems/ruby-1.9.3-p547/gems/activesupport-4.1.4/lib/active_support/dependencies.rb:247:inrequire'
/home/hassan/.rvm/gems/ruby-1.9.3-p547/gems/activesupport-4.1.4/lib/active_support/dependencies.rb:247:in block in require' /home/hassan/.rvm/gems/ruby-1.9.3-p547/gems/activesupport-4.1.4/lib/active_support/dependencies.rb:232:inload_dependency'
/home/hassan/.rvm/gems/ruby-1.9.3-p547/gems/activesupport-4.1.4/lib/active_support/dependencies.rb:247:in require' /home/hassan/.rvm/gems/ruby-1.9.3-p547/gems/railties-4.1.4/lib/rails/application.rb:276:inrequire_environment!'
/home/hassan/.rvm/gems/ruby-1.9.3-p547/gems/railties-4.1.4/lib/rails/application.rb:379:in `block in run_tasks_blocks'
Tasks: TOP => db:migrate => environment
(See full trace by running task with --trace)

Not every formula is parsed correct

Check formula like 'C3H6(OH)2' (Propylene Glycol). Creating object with that formula returns

formula = ChemistryRails::Formula.new('C3H6(OH)2')
#<ChemistryRails::Formula:0x000000028d9eb8 @formula="C3H6(OH)2", @options={}, @is_OH=false, @elements={"C"=>3, "H"=>1, "O"=>1}>

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.