Comments (4)
I was unable to reproduce this in an app running Ruby 2.6.5, Rails 6.0.1, and fabrication 2.21.0. I see you're on the latest fabrication but what versions of Ruby and Rails do you have?
from fabrication.
Versions:
ruby 2.6.5p114
Rails 6.0.2.1
.railsrc
--skip-action-cable
--skip-spring
--skip-coffee
--skip-turbolinks
--skip-test-unit
--template=~/.rails_template.rb
rails_template.rb
gem_group :development, :test do
gem "dotenv-rails"
gem "pry-byebug"
gem "faker"
gem "fabrication"
gem "rspec-rails"
end
run "bundle install"
generate :controller, "home index"
route "root to: 'home#index'"
generate "rspec:install"
If you can't reproduce it I think it's reasonable to assume that it's not something in fabrication, in which case please feel free to close. Just thought I'd let you know in case it was something you'd missed.
from fabrication.
In your initial report you said you ran:
rails g fakemodel
rails d fakemodel
You can't run those commands without specifying what you're generating though. Unless I'm missing something? I've tried doing it as a model
and as a scaffold
on a new app but both worked just fine.
from fabrication.
I'm going to assume this is PEBKAC and tidy up your issues. Thanks for a great project, hope you're well 😁
from fabrication.
Related Issues (20)
- Configure fabricators directory HOT 1
- The https://www.fabricationgem.org isn't working HOT 6
- Why does Fabrication::Generator::Base#post_initialize exist? HOT 1
- Docs: defining fabricators for namespaced models HOT 2
- Rake HOT 1
- [Proposal]Custom return value HOT 4
- Fabricator rand minimum? HOT 3
- fabricate failing to build interit values for nested associations through nested attributes HOT 1
- postgres error with complex class_name HOT 1
- [Regression] Can't fabricate model with polymorphic belongs_to anymore HOT 3
- Find models in another folder HOT 1
- Where to extract methods ? HOT 3
- Models with deep namespace HOT 2
- Won't let me run `rails console` with the error: 'model_name' is already defined when implementing for rspec factories HOT 4
- Provide meaningful error for circular references
- ActiveRecord view backed model with custom primary key HOT 1
- Is this project dead? HOT 5
- Site fabricationgem.org down: SSL issues? HOT 6
- Sequel ORM backend raises error with Fabrication HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fabrication.