Giter Club home page Giter Club logo

picky-color's People

Contributors

astorsoft avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

xwmx

picky-color's Issues

wrong number of arguments (5 for 4)

Hi!

I was try to integrate your 'picky-color' plugin, but browser throws me this error:

wrong number of arguments (5 for 4)
Extracted source (around line #28):

25:   </div>
26:   <div class="field">
27:     <%= f.label :banner_color %><br />
28:     <%= f.picky_color :banner_color %>
29:   </div>
30:   <div class="field">
31:     <%= f.label :banner_background_color %><br />

In layout, all files (js, css) were included, as you can see here:

<head> 
  <title>MyApp</title> 
  <link href="/stylesheets/picky_color.css?1318009678" media="screen" rel="stylesheet" type="text/css" /> 
<link href="/stylesheets/scaffold.css?1317964180" media="screen" rel="stylesheet" type="text/css" /> 
  <script src="/javascripts/prototype.js?1317794977" type="text/javascript"></script> 
<script src="/javascripts/effects.js?1317794977" type="text/javascript"></script> 
<script src="/javascripts/dragdrop.js?1317794977" type="text/javascript"></script> 
<script src="/javascripts/controls.js?1317794977" type="text/javascript"></script> 
<script src="/javascripts/rails.js?1317794977" type="text/javascript"></script> 
<script src="/javascripts/picky_color.js?1318009678" type="text/javascript"></script> 
<script src="/javascripts/application.js?1317794977" type="text/javascript"></script> 

What is wrong?
Thank you very much

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.