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

Avatar

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.

Avatar

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
_form.html.erb
<%= f.fields_for :property_managers do |builder| %>
<%= render "property_manager_fields", :f => builder %>
<% end %>
_property_manager_fields.html.erb
<%= f.fields_for :login do |builder| %>
<%= render "login_fields", :f => builder %>
<% end %>
<%= f.text_field :phone %>
<%= link_to_remove_fields "remove", f %>

_login_fields.html.erb
<%= f.text_field :username " %>

Avatar

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

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

Avatar

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.