{"action":"created","issue":{"url":"https://api.github.com/repos/bcsgsvn/finance/issues/8","labels_url":"https://api.github.com/repos/bcsgsvn/finance/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/bcsgsvn/finance/issues/8/comments","events_url":"https://api.github.com/repos/bcsgsvn/finance/issues/8/events","html_url":"https://github.com/bcsgsvn/finance/issues/8","id":4227664,"number":8,"title":"can't get examples to work","user":{"login":"derekyau","id":451563,"avatar_url":"https://avatars.githubusercontent.com/u/451563?v=3","gravatar_id":"","url":"https://api.github.com/users/derekyau","html_url":"https://github.com/derekyau","followers_url":"https://api.github.com/users/derekyau/followers","following_url":"https://api.github.com/users/derekyau/following{/other_user}","gists_url":"https://api.github.com/users/derekyau/gists{/gist_id}","starred_url":"https://api.github.com/users/derekyau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/derekyau/subscriptions","organizations_url":"https://api.github.com/users/derekyau/orgs","repos_url":"https://api.github.com/users/derekyau/repos","events_url":"https://api.github.com/users/derekyau/events{/privacy}","received_events_url":"https://api.github.com/users/derekyau/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":12,"created_at":"2012-04-22T05:36:31Z","updated_at":"2015-11-25T16:18:00Z","closed_at":null,"body":"sorry, i may be missing something here (probably am :/)\r\nbut I just installed the gem (which is awesome by the way thanks for starting this!)\r\n\r\nI wasn't able to get the examples working, this is within the context of a rails stack.\r\n\r\nwhen I try the IRR example\r\n`[-4000,1200,1410,1875,1050].irr `\r\nI seem to be getting the error\r\n`Flt::DecNum can't be coerced into BigDecimal`\r\nThis seems to be working fine in the rails console though.\r\n\r\nas for the xirr example\r\n\r\n`@transactions = []\r\n@transactions << Transaction.new(-1000, :date => Time.new(1985,01,01))\r\n@transactions << Transaction.new(  600, :date => Time.new(1990,01,01))\r\n@transactions << Transaction.new(  600, :date => Time.new(1995,01,01))\r\n@transactions.xirr(0.6)`\r\n\r\nI am getting this error\r\n`wrong argument type Float (expected Fixnum)`\r\n\r\nnot quite sure what I am doing wrong, anyone have an idea?\r\n\r\nThanks!"},"comment":{"url":"https://api.github.com/repos/bcsgsvn/finance/issues/comments/159660244","html_url":"https://github.com/bcsgsvn/finance/issues/8#issuecomment-159660244","issue_url":"https://api.github.com/repos/bcsgsvn/finance/issues/8","id":159660244,"user":{"login":"wmilesn","id":663134,"avatar_url":"https://avatars.githubusercontent.com/u/663134?v=3","gravatar_id":"","url":"https://api.github.com/users/wmilesn","html_url":"https://github.com/wmilesn","followers_url":"https://api.github.com/users/wmilesn/followers","following_url":"https://api.github.com/users/wmilesn/following{/other_user}","gists_url":"https://api.github.com/users/wmilesn/gists{/gist_id}","starred_url":"https://api.github.com/users/wmilesn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wmilesn/subscriptions","organizations_url":"https://api.github.com/users/wmilesn/orgs","repos_url":"https://api.github.com/users/wmilesn/repos","events_url":"https://api.github.com/users/wmilesn/events{/privacy}","received_events_url":"https://api.github.com/users/wmilesn/received_events","type":"User","site_admin":false},"created_at":"2015-11-25T16:18:00Z","updated_at":"2015-11-25T16:18:00Z","body":"Not on my end\n\nOn Wed, Nov 25, 2015 at 6:28 AM, Mark Weston <notifications@github.com>\nwrote:\n\n> @derekyau <https://github.com/derekyau> @MoustafaEid\n> <https://github.com/MoustafaEid> @wmilesn <https://github.com/wmilesn>\n> @suan <https://github.com/suan>\n>\n> This issue is now quite old :) Is it still a live problem for anyone, and\n> does it require further investigation?\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/bcsgsvn/finance/issues/8#issuecomment-159577834>.\n>\n\n\n\n-- \n*Will Nathan <http://www.linkedin.com/pub/will-nathan/1/285/16>*\nCo-founder & Chairman, Homepolish <https://www.homepolish.com/>\nForbes\n<http://www.forbes.com/sites/alextaub/2015/07/02/homepolish-is-here-to-help-you-design-your-home-or-office/>\n | Fox Business\n<http://video.foxbusiness.com/v/3884693828001/interior-design-without-the-hefty-price-tag/?cmpid=fbvid_twitter#sp=show-clips>\n | Nylon Guys\n<http://bt.e-ditionsbyfry.com/article/space+cases/1828012/0/article.html>\n\n<https://www.facebook.com/Homepolish>\n<http://www.pinterest.com/Homepolish/>   <http://instagram.com/homepolish>\n  <https://twitter.com/Homepolish>\n"}}