[Rails] Open Ruby on Rails developer position in NYC

2010-11-24 Thread toamitku...@gmail.com
Hi Rubyists, I work with TCSL (Tata Consultancy Services Limited) and we have been doing Rails development for last 4 years now. We have an open position for Ruby on Rails developer in NYC (initially contract and full time after 6 months). The candidate must have over 3 years experience in web de

[Rails] Re: Nested forms: Can you access the object from within fields_for?

2010-04-12 Thread toamitku...@gmail.com
Yes u can with friend.object.name On Apr 11, 10:13 pm, John Grimes wrote: > Hi all, > > Say I had the following form: > > <% form_for @user do |f| %> >   <%= f.error_messages %> >   <% f.fields_for :friends do |friends| %> >     <%= friends.text_field :relationship_to_you %> >   <% end %> >   <%=

[Rails] Re: RichTextEditor

2009-08-09 Thread toamitku...@gmail.com
tinymce 3.2.5 is pretty flexible !! On Aug 9, 4:01 am, Fernando Perez wrote: > I use TinyMCE, and like it very much. > -- > Posted viahttp://www.ruby-forum.com/. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Ruby

[Rails] Re: Capitalize first letter of each word

2009-05-27 Thread toamitku...@gmail.com
titleize --->> def titleize(word) humanize(underscore(word)).gsub(/\b('?[a-z])/) { $1.capitalize } end output: "at&t" --> "At&T" (not the desired output) "man-eater --> "Man Eater" (not the desired output) "at&t".split(' ').map {|w| w.capitalize }.join(' ') ---> "At&t" seems to be better a