[Rails] Re: Rails form partial help - nested resource

2010-04-01 Thread babu nair
Hi Tony, Hope ur using Jquery Add the class to the remove link and add the following line of code > > <%= f.error_messages %> > > > <%= f.text_field :content %> > > <% unless f.object.new_record? %> > <%= link_to_remove_fields "remove", f,:class=>"remove" %> > <% end %> >

[Rails] How to convert Mp3 file to 128kbps before save

2009-04-23 Thread babu nair
Hi I need to convert mp3 file to 128kbps before save to the database.If any one have any idea about this please reply.. Thanks & Regards babu -- Posted via http://www.ruby-forum.com/. --~--~-~--~~~---~--~~ You received this message because you are subscri

[Rails] rememder me problem

2009-01-14 Thread babu nair
How to filter out email address from cookies[:auth_token].If any one knows please help.. -- Posted via http://www.ruby-forum.com/. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post

[Rails] crontad+linux

2008-12-21 Thread babu nair
Hi all I need to run a method every day by 11:55PM,so i dont know how to write cronjob for this,is any one knows plz help -- Posted via http://www.ruby-forum.com/. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "R

[Rails] How to use form_for inside form_for

2008-11-19 Thread babu nair
Hi friends I am having one doubt.i am using form_for inside form_for and if i clicked the child form_for submit button its going to parent form_for snd the code is written bellow. <% form_for(:tender,:url=>{:action=>'create',:id=>params[:id]}) do |form| %> <% form_for(:tender,:url=>{:acti

[Rails] Nested Resouces,not getting parent id(project_id) from form

2008-10-29 Thread babu nair
Hi i am using nested resources,here project having has many relation with defects. Main problem here is i am not getting project_id from edit form.What's a problem if any one knows please help. edit.html.erb <% form_for(@defect,@project) do |f| %> <%=f.text_field :name%> <%end%> routes.rb map.

[Rails] How to send instant message to skype

2008-10-21 Thread babu nair
Hi all, In our application we are having one option for invite users,when i click invite button then instant message will go to their respective skype account,i dont know how to send message to skype.If any one knows about this please reply.My rails version is 2.1.1 -- Posted via http://www.ru

[Rails] need so instant message to Skype and google talk

2008-10-21 Thread babu nair
Hi all, In our application we are having one option for invite users,when i click invite button then instant message will go to their respective skype account,i dont know how to send message to skype.If any one knows about this please reply.My rails version is 2.1.1 -- Posted via http://www.ru

[Rails] unit test

2008-09-29 Thread babu nair
Hi is it possible to write unit testing for database independent application. if its possible then any one can help how to write unit test to check whether the text field value is blank(keep in mind no database) or not. -- Posted via http://www.ruby-forum.com/. --~--~-~--~~---