{"action":"created","issue":{"url":"https://api.github.com/repos/crismali/magic_lamp/issues/18","labels_url":"https://api.github.com/repos/crismali/magic_lamp/issues/18/labels{/name}","comments_url":"https://api.github.com/repos/crismali/magic_lamp/issues/18/comments","events_url":"https://api.github.com/repos/crismali/magic_lamp/issues/18/events","html_url":"https://github.com/crismali/magic_lamp/issues/18","id":72921433,"number":18,"title":"undefined method `define' for MagicLamp:Module","user":{"login":"proubits","id":4447079,"avatar_url":"https://avatars.githubusercontent.com/u/4447079?v=3","gravatar_id":"","url":"https://api.github.com/users/proubits","html_url":"https://github.com/proubits","followers_url":"https://api.github.com/users/proubits/followers","following_url":"https://api.github.com/users/proubits/following{/other_user}","gists_url":"https://api.github.com/users/proubits/gists{/gist_id}","starred_url":"https://api.github.com/users/proubits/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/proubits/subscriptions","organizations_url":"https://api.github.com/users/proubits/orgs","repos_url":"https://api.github.com/users/proubits/repos","events_url":"https://api.github.com/users/proubits/events{/privacy}","received_events_url":"https://api.github.com/users/proubits/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-05-04T04:43:26Z","updated_at":"2015-05-05T12:45:54Z","closed_at":null,"body":"Following the 'Drying up your fixtures' example showing on the readme, I got the error message as shown in the title. Here is my code\r\n```ruby\r\n#magic_lamp.rb\r\nMagicLamp.define(controller: OrdersController) do\r\n  fixture(name: \"order_index\") do\r\n    @orders = Order.all\r\n    render :index\r\n  end\r\nend\r\n```\r\nAnyone can help? thanks.\r\n"},"comment":{"url":"https://api.github.com/repos/crismali/magic_lamp/issues/comments/99068469","html_url":"https://github.com/crismali/magic_lamp/issues/18#issuecomment-99068469","issue_url":"https://api.github.com/repos/crismali/magic_lamp/issues/18","id":99068469,"user":{"login":"proubits","id":4447079,"avatar_url":"https://avatars.githubusercontent.com/u/4447079?v=3","gravatar_id":"","url":"https://api.github.com/users/proubits","html_url":"https://github.com/proubits","followers_url":"https://api.github.com/users/proubits/followers","following_url":"https://api.github.com/users/proubits/following{/other_user}","gists_url":"https://api.github.com/users/proubits/gists{/gist_id}","starred_url":"https://api.github.com/users/proubits/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/proubits/subscriptions","organizations_url":"https://api.github.com/users/proubits/orgs","repos_url":"https://api.github.com/users/proubits/repos","events_url":"https://api.github.com/users/proubits/events{/privacy}","received_events_url":"https://api.github.com/users/proubits/received_events","type":"User","site_admin":false},"created_at":"2015-05-05T12:45:54Z","updated_at":"2015-05-05T12:45:54Z","body":"Thanks for your reply. You are right. I am using 1.0.0. But I am not able to upgrade to 1.6.0 because of the dependency: rails (>=4.0.0). I am using rails 3.2. Is there any work around for this?"}}