Our Publications
About Us
Josh Software
Our passion is Ruby On Rails! We are an Indian company who believes that programming is an art.Our portfolio! -- Contact Us
Categories
- Case Studies (1)
- CMS (9)
- Radiant (9)
- General (24)
- Javascript (5)
- Mobile Development (1)
- Sencha (1)
- MongoDB (2)
- Ruby (45)
- Ruby on Rails (117)
- Conferences (14)
- Search (8)
- Tutorials (12)
Authors
Monthly Archives: May 2009
Intresting String inflections in rails
* camelcase * camelize * classify * constantize * dasherize * demodulize * foreign_key * humanize * parameterize * pluralize * singularize * tableize * titlecase * titleize * underscore camelcase(first_letter = :upper) Alias for camelizecamelize(first_letter = :upper) By default, … Continue reading
Render partial or view from another controller
To render view from another controller # In rail 2.3render “controller/action” # In rails 2.2 or belowrender :template => ‘controller/action’ To render partial from another controller’s views folder render :partial => “controller/partial” Cheers !Sandip
vi / vim Shortcuts
Open filevi filenameAs i am newb on linux macine, i dont know vi shortcuts.so, i am listing down shortcuts which i am getting familier. :) Insert in filei Exit fileq forced exitq! save filewq forced savewq! Copy no of linesyy … Continue reading
