-
I get the following warning when using associations:
`DEPRECATION WARNING: Object#returning has been deprecated in favor of Object#tap. (called from block (2 levels) in at ~/SP/spec/spec_helper.rb:7…
-
Any comments or suggestions please add them here
idgm5 updated
4 years ago
-
Add name attributes to the various objects and random name generators to be used if no name is specified.
-
"all" I did was add colorize to my gem file:
group :test do
gem 'minitest-rails'
gem 'minitest-colorize'
gem 'faker'
end
And did a bundle command. (Also tried bundle install)
And when I run t…
-
I love faker and I use it a lot on my tests. Something like this:
```
type User struct {
Id uint64 `faker:"-"`
Email string
Username string
FirstName string
LastName string
…
-
I tried to run an app having a gem dependency, green_shoes, a Ruby gtk2 gui library.
After it compiled the script and outputed a.out file, running produces this error
```ruby
>$ ./a.out
/__encl…
-
User.rb:
metafy :first_name
Save user:
user.last_name = Faker::Name.last_name
user.save!
I got this:
NoMethodError: undefined method `metafy' for #
/Users/user/.rvm/gems/ruby-2.1.1/gems/activerec…
-
Hello everything is fine? I'm having some problems doing unique validations with the gem following my models and tests.
Model User
` validates :name, :username, :email, :password_digest, presence…
-
gem 'pg', '>= 0.18', '< 2.0'
上記をGemfileに記述していますが、下記エラーが出ています。解決方法と原因はなにですか。
bundle install
Fetching gem metadata from https://rubygems.org/.........
Resolving dependencies...
Using rake 13.2.1
U…
-
Hey! Thanks for your work! The gem works great!
What do you think about `factory_bot` helper especially for this gem? Or maybe README update about how to create factories.
I've spent half a hour…