Javascript error

Hi,

I am doing some stuff with Javascript. It runs fine on my local
machine, however, I receive the following error on the deployed copy:

Processing PropertiesController#new (for 69.86.211.169 at 2009-10-24
20:43:32) [GET]
Rendering template within layouts/data_layout
Rendering properties/new

ActionView::TemplateError (wrong number of arguments (1 for 0)) on
line #17 of app/views/properties/_fields.html.erb:
14:
15:


16:
17: <%= add_property_value_link “+ Add Property Value” %>
18:

19:
20:
app/helpers/properties_helper.rb:5:in `__instance_exec0'
app/helpers/properties_helper.rb:4:in `add_property_value_link'
app/views/properties/_fields.html.erb:17
app/views/properties/new.html.erb:10
app/views/properties/new.html.erb:8
app/controllers/properties_controller.rb:35:in `new'
passenger (2.2.3) lib/phusion_passenger/rack/request_handler.rb:

91:in process_request' passenger (2.2.3) lib/phusion_passenger/ abstract_request_handler.rb:206:inmain_loop’
passenger (2.2.3) lib/phusion_passenger/railz/
application_spawner.rb:376:in start_request_handler' passenger (2.2.3) lib/phusion_passenger/railz/ application_spawner.rb:334:inhandle_spawn_application’
passenger (2.2.3) lib/phusion_passenger/utils.rb:182:in
safe_fork' passenger (2.2.3) lib/phusion_passenger/railz/ application_spawner.rb:332:inhandle_spawn_application’
passenger (2.2.3) lib/phusion_passenger/abstract_server.rb:351:in
__send__' passenger (2.2.3) lib/phusion_passenger/abstract_server.rb:351:inmain_loop’
passenger (2.2.3) lib/phusion_passenger/abstract_server.rb:195:in
start_synchronously' passenger (2.2.3) lib/phusion_passenger/abstract_server.rb:162:instart’
passenger (2.2.3) lib/phusion_passenger/railz/
application_spawner.rb:213:in start' passenger (2.2.3) lib/phusion_passenger/spawn_manager.rb:261:inspawn_rails_application’
passenger (2.2.3) lib/phusion_passenger/
abstract_server_collection.rb:126:in lookup_or_add' passenger (2.2.3) lib/phusion_passenger/spawn_manager.rb:255:inspawn_rails_application’
passenger (2.2.3) lib/phusion_passenger/
abstract_server_collection.rb:80:in synchronize' passenger (2.2.3) lib/phusion_passenger/ abstract_server_collection.rb:79:insynchronize’
passenger (2.2.3) lib/phusion_passenger/spawn_manager.rb:254:in
spawn_rails_application' passenger (2.2.3) lib/phusion_passenger/spawn_manager.rb:153:inspawn_application’
passenger (2.2.3) lib/phusion_passenger/spawn_manager.rb:286:in
handle_spawn_application' passenger (2.2.3) lib/phusion_passenger/abstract_server.rb:351:insend
passenger (2.2.3) lib/phusion_passenger/abstract_server.rb:351:in
main_loop' passenger (2.2.3) lib/phusion_passenger/abstract_server.rb:195:instart_synchronously’

Rendering /home/sv620/domains/phono-dev.sswl.railsplayground.net/SSWL/
releases/20091025002849/public/500.html (500 Internal Server Error)

Any help would be appreciated. Thanks!

Hi Jillian K.

17: <%= add_property_value_link “+ Add Property Value” %>

Is add_property_value_link is a function with one parameter “+ Add
Property Value” ?It means that

Sijo

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs