Coder Social home page Coder Social logo

Comments (5)

johnkoht avatar johnkoht commented on September 15, 2024

Are you using another plugin or engine that might use breadcrumbs? I tried using this plugin with Spree because I didn't want to use their built-in breadcrumbs and got the same errors. This method https://github.com/weppos/breadcrumbs_on_rails/blob/master/lib/breadcrumbs_on_rails/action_controller.rb#L26-L28 conflicted with a spree method and caused my error.

I ended up forking and renaming the method https://github.com/johnkoht/breadcrumbs_on_rails

from breadcrumbs_on_rails.

mlynarczyk avatar mlynarczyk commented on September 15, 2024

same issue

ruby '2.0.0'
gem 'rails', '~> 4.1.0'

render_breadcrumbs is not willing to take any arguments

@johnkoht 's version produces same error in my case

from breadcrumbs_on_rails.

tetsuo692 avatar tetsuo692 commented on September 15, 2024

I've got the inverse issue :
= render_breadcrumbs tag: "li"
wrong number of arguments (1 for 0)

from breadcrumbs_on_rails.

quockhanhbui avatar quockhanhbui commented on September 15, 2024

The same issue. wrong number of arguments (1 for 0) But i fixed it. The reason is gems conflict.
In my case:

gem `twitter-bootstrap3-rails` 
# conflict with 
gem 'breadcrumbs_on_rails'.

When i removed gem twitter-bootstrap3-rails. The error went!

from breadcrumbs_on_rails.

weppos avatar weppos commented on September 15, 2024

Potentially duplicate of #65

from breadcrumbs_on_rails.

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.