Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wrong number of arguments (5 for 4) #1

Open
IsraelBuitronD opened this issue Oct 7, 2011 · 0 comments
Open

wrong number of arguments (5 for 4) #1

IsraelBuitronD opened this issue Oct 7, 2011 · 0 comments

Comments

@IsraelBuitronD
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant