Comments (4)
AFAIK, with FactoryGirl you would create a Pen
, not a Product
.
At least, that's how I use it.
from active_record-acts_as.
Yes, creating a product without a pen doesn't work. This has nothing to do with FactoryGirl AFAICS, if you tried MyApp::Product.create!(name: FFaker::Name.name)
on the console you'd get the same error.
from active_record-acts_as.
👍
from active_record-acts_as.
thanks for the fast replies
from active_record-acts_as.
Related Issues (20)
- Scopes from abstract model not working HOT 5
- Can't order by an actable attribute HOT 1
- Not working for rails 5.2.1 HOT 4
- Compatibility with Rails 5.2.2 HOT 2
- Rspec turning both actable and acts_as records when calling associations. HOT 4
- RubyGems.org has a version 4.0.0. Where is it? Is there a changelog? HOT 2
- 4.0.0 breaks find_or_initialize_by HOT 4
- Multiple act_as in model roadmap HOT 5
- Multiple nested forms and acts_as HOT 1
- Please bump version for compatibility with ruby 2.7 HOT 1
- getting a list of all models that act_as a model HOT 2
- Migrate from travisCI to another CI provider HOT 1
- Calling a method on supermodel with keyword arguments in ruby 3 results in ArgumentError HOT 2
- Actables function does not work with :as
- Handle multiple acts_as
- Ruby 3.0 support HOT 1
- ActiveRecord's `exists?` method doesn't work if Rails >= 5.1 HOT 3
- Actables class method does not restrict based on type HOT 2
- _type column contains different value after shifting from acts_as_relation gem to active_record-acts_as gem HOT 3
- undefined method `include?` for :author:Symbol when using `create_with.find_or_create_by!`
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 active_record-acts_as.