Giter VIP home page Giter VIP logo

Comments (9)

deivid-rodriguez avatar deivid-rodriguez commented on May 31, 2024

First advice is to remove pry-nav from your Gemfile as it can conflict with pry-byebug.

from pry-byebug.

GCorbel avatar GCorbel commented on May 31, 2024

When I remove pry-nav and I type next on this example :

    53:   scenario "Pay a new painting" do
    54:       binding.pry
    55:       sign_in user
 => 56:       painting.update_attribute('published', false)
    57: 
    58:       visit new_painting_order_path(painting)
    59:       fill_order_form
    60: 
    61:       expect(page).to have_content("Votre commande a bien été effectuée")

Instead to go on line 58, I go here :

From: /home/dougui/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/activerecord-3.2.13/lib/active_record/associations/builder/association.rb @ line 51 Painting::GeneratedFeatureMethods#painting_technic=:

    50: mixin.redefine_method("#{name}=") do |value|
 => 51:   association(name).writer(value)
    52: end

It's the same issue as here : nixme/pry-debugger#34

It's worse without pry-nav.

from pry-byebug.

deivid-rodriguez avatar deivid-rodriguez commented on May 31, 2024

Ok, I'm going to try reproduce this as soon as possible. Thanks for the report!

from pry-byebug.

GCorbel avatar GCorbel commented on May 31, 2024

If you need help, please let me know

from pry-byebug.

deivid-rodriguez avatar deivid-rodriguez commented on May 31, 2024

Thanks. Actually simple steps to get your environment running would be helpful.

from pry-byebug.

GCorbel avatar GCorbel commented on May 31, 2024

You can find the repo here : https://github.com/GCorbel/comment-my-projects. Try to clone it.

from pry-byebug.

GCorbel avatar GCorbel commented on May 31, 2024

oups, it's the wrong repo. It's this one : https://github.com/GCorbel/lescollectionneursassocies. Sorry for the mistake.

from pry-byebug.

deivid-rodriguez avatar deivid-rodriguez commented on May 31, 2024

I'm having a look at this and I can confirm the issue. It is a bug in byebug though. I'll let you know.

from pry-byebug.

deivid-rodriguez avatar deivid-rodriguez commented on May 31, 2024

Closing this in favor of #9

Hopefully #9 (comment) fixes it.

from pry-byebug.

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.