{"action":"opened","issue":{"url":"https://api.github.com/repos/Dogfalo/materialize/issues/1261","labels_url":"https://api.github.com/repos/Dogfalo/materialize/issues/1261/labels{/name}","comments_url":"https://api.github.com/repos/Dogfalo/materialize/issues/1261/comments","events_url":"https://api.github.com/repos/Dogfalo/materialize/issues/1261/events","html_url":"https://github.com/Dogfalo/materialize/issues/1261","id":71476303,"number":1261,"title":"JS installation in Rails 4","user":{"login":"kockok","id":232541,"avatar_url":"https://avatars.githubusercontent.com/u/232541?v=3","gravatar_id":"","url":"https://api.github.com/users/kockok","html_url":"https://github.com/kockok","followers_url":"https://api.github.com/users/kockok/followers","following_url":"https://api.github.com/users/kockok/following{/other_user}","gists_url":"https://api.github.com/users/kockok/gists{/gist_id}","starred_url":"https://api.github.com/users/kockok/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kockok/subscriptions","organizations_url":"https://api.github.com/users/kockok/orgs","repos_url":"https://api.github.com/users/kockok/repos","events_url":"https://api.github.com/users/kockok/events{/privacy}","received_events_url":"https://api.github.com/users/kockok/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-04-28T04:38:24Z","updated_at":"2015-04-28T04:38:24Z","closed_at":null,"body":"I successfully installed materializecss in rails with the min.js file and it works great.\r\n![screen shot 2015-04-28 at 9 01 21 am](https://cloud.githubusercontent.com/assets/232541/7362812/d6ca71c2-eda1-11e4-8f5b-7c9dc2e27428.png)\r\nHowever, if I separately load the js files, the javascript parts fails to function.\r\n![screen shot 2015-04-28 at 12 31 17 pm](https://cloud.githubusercontent.com/assets/232541/7362862/a64d35ec-eda2-11e4-9fb6-56d44d6694aa.png)\r\n\r\nErrors include:\r\n\r\n```\r\nReferenceError: Can't find variable: Picker\r\n(anonymous function)picker.date.self-5924b278beda2df8570f137f72b37e2d0f516acbc11a0994d1abb74380f078ef.js:18\r\nglobal codepicker.date.self-5924b278beda2df8570f137f72b37e2d0f516acbc11a0994d1abb74380f078ef.js:20\r\nlocalhost:170\r\n```\r\n```\r\n[Error] TypeError: undefined is not a function (evaluating 'Vel(newToast, { \"top\" : \"0px\", opacity: 1 }, {duration: 300,\r\n      easing: 'easeOutCubic',\r\n      queue: false})')\r\n  toast (toasts.self-188603d7c1c8e1177b838234026094fb90a0fe57c94bf0ffa1082dd33619a6cc.js, line 22)\r\n  onclick (localhost, line 167)\r\n```\r\n\r\nAny advice?\r\n"}}