Giter VIP home page Giter VIP logo

Comments (4)

paulelliott avatar paulelliott commented on August 25, 2024

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.

thejonanshow avatar thejonanshow commented on August 25, 2024

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.

paulelliott avatar paulelliott commented on August 25, 2024

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.

thejonanshow avatar thejonanshow commented on August 25, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.