RailsCasts Pro episodes are now free!

Learn more or hide this

Adnan Tahir's Profile

GitHub User: adnan4721

Site: adnantahir.info

Comments by Adnan Tahir


After export to upstart and running this command

start testapp

I am getting this error

start: Job failed to start

I am using Ubuntu 10.4 LTS and logged in with root if it does matter.


How can I render nested partial with this plugin. Only partial property_manager_fields is rending but nested partial login_fields is not being rending with click on add_to_link using jQuery
<%= f.fields_for :property_managers do |builder| %>
<%= render "property_manager_fields", :f => builder %>
<% end %>
<%= f.fields_for :login do |builder| %>
<%= render "login_fields", :f => builder %>
<% end %>
<%= f.text_field :phone %>
<%= link_to_remove_fields "remove", f %>

<%= f.text_field :username " %>


As per this example How can I add Question with 4 Answers with single click on

<%= link_to_add_fields "Add Question", f, :questions %>


I want to use Faye on production server. how can I start faye server automatically or as a daemon process.

Because when I start faye server using SSH it shutdown as i close ssh connection. Please guide me its really urgent.