Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doesn't works with db/structure.sql #26

Closed
meonthewire opened this issue May 6, 2015 · 3 comments
Closed

Doesn't works with db/structure.sql #26

meonthewire opened this issue May 6, 2015 · 3 comments

Comments

@meonthewire
Copy link

Doesn't works with db/structure.sql instead of db/schema.rb

rake active_mocker:build

rake aborted!cks |>>                                                                                               | 0%
NoMethodError: undefined method `class_name' for #<Errno::ENOENT:0x007f4af1480e48>

Errno::ENOENT: No such file or directory @ rb_sysopen - /home/myproject/db/schema.rb

Tasks: TOP => active_mocker:build
(See full trace by running task with --trace)
@zeisler
Copy link
Owner

zeisler commented May 6, 2015

I'm sorry your having this problem. Currently active mocker is dependent on the schema.rb. One way around that I think that may work would be just to get the information from each ActiveRecord models This would take some time to do and I would be open to a pull request for this feature.

@zeisler
Copy link
Owner

zeisler commented May 24, 2015

After some consideration I would like to remove the schema.rb dependency for version 2.0.0. I am setting a goal to release version 2 in 3-6 months.

@zeisler
Copy link
Owner

zeisler commented Dec 2, 2015

I am happy to announce version 2.0.0.beta1. No schema.rb file required. rubygems

@zeisler zeisler closed this as completed Dec 2, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants