Posts filed under ‘rails’

This blog is moved to webonrails.com

Greetings

I have moved this blog to http://webonrails.com . I will continue posting at http://webonrails.com, not on https://webonrails.wordpress.com.

Kindly update your book marks to http://webonrails.com

and http://webonrails.com/feed .

I am really very sorry for inconvenience.

December 2, 2006 at 7:15 pm 7 comments

Ajax based drag drop and sortable tree for Rails

My friend sur wrote and shares his code for Ajax based drag drop sortable tree for rails. He is also trying to pluginize this, and soon it will be publicly available. Find more detail here.

November 25, 2006 at 1:06 pm 5 comments

Uploading files using AJAX

There is no way to upload files using AJAX. How Gmail does it then? Well, the answer is using <iframe>. Here is a post that describe this technique in detail. Infact we are using this technique from months, obviously inspired by Gmail. ;-)

update: Technically speaking, it’s not Ajax. Just an iframe hack. You are absolutly right Pratik.

November 20, 2006 at 6:26 pm 8 comments

Cheat Sheet

  • Capistrano1.2.0 cheat sheet here.
  • REST cheat sheet here.
  • Rails cheat sheet here.
  • Rails testing cheat sheet here.

November 10, 2006 at 7:13 pm Leave a comment

Deprecated Method in ActionView::Helpers::PrototypeHelper

Prototype helper method update_element_function is deprecated now, Please use RJS instead.

November 9, 2006 at 1:40 pm Leave a comment

Deprecated FormTagHelpers

Following FormTagHelpers are deprecated and will be removed in Rails 1.2

  • start_form_tag (use form_tag instead)
  • end_form_tag (use </form> instead)

technorati tags: , , rubyonrails

November 4, 2006 at 10:53 am Leave a comment

Customized Google search engine for ruby on rails(ROR)

Today Ritu Kamthan created a search engine for RubyOnRails (powered by Google Co-op)

Presently it searches over following sites:

weblog.rubyonrails.org
wiki.rubyonrails.com
rituonrails.wordpress.com
webonrails.wordpress.com
fromdelhi.com
vinsol.com
rubyonrails.org
ajaxonrails.wordpress.com
del.icio.us/
http://www.rubycentral.org
http://www.rubycentral.com
http://www.ruby-lang.org
http://www.rubyonrails.com
nubyonrails.com
rubyforge.org
sitekreator.com/satishtalim/index.html
dec.orat.in/
den1jay.blogs.assembla.com/

If you are a regular rails blogger and wanna add your site to this list, please let me or Ritu know, so that we can include your site.

October 26, 2006 at 1:06 pm 3 comments

Ruby On Rails India

As far as I know there are very few people working on RubyOnRails in India. Vinayak solutions Pvt. Ltd. is doing great in this field. Recently Manik Juneja (Director) attended the Rails conf. Landon and last week traveled Colombo to train a team of web programmers on Ruby on Rails.

October 14, 2006 at 5:22 am 31 comments

Lib file state_select.rb

If you are not interested in installing a plugin just for one method(state_select) then You can put state_select.rb file in you rails lib directory. And include state_select.rb file in your controller where ever you want to use state_select method.

The url for state_select.rb is http://opensvn.csie.org/state_select/trunk/lib/state_select.rb
Feedback please….

September 13, 2006 at 6:42 am 5 comments

Plugin: state_select, generate drop down selection box for states

I have wrote my first plugin(state_select). This plugin allows to create drop down list for states, same as country_select method in rails. I know this is not a big deal…

Curently it can generate state list for India, US, Canada, Australia and Spain(default is US).

Usage:

  • state_select(object, method, country='US', options = {}, html_options = {})

Return select and option tags for the given object and method, using state_options_for_select to generate the list of option tags.

  • state_options_for_select(selected = nil, country = 'US')

Returns a string of option tags for states in a country. Supply a state name as selected to have it marked as the selected option tag.

NOTE: Only the option tags are returned, you have to wrap this call in a regular HTML select tag.

The svn repository can be found at http://opensvn.csie.org/state_select/trunk/

Install plugin by

script/plugin install http://opensvn.csie.org/state_select/trunk/

September 12, 2006 at 2:34 pm 15 comments

Older Posts


Important Notice…

I have moved this blog to http://webonrails.com . I will continue posting at http://webonrails.com, not on https://webonrails.wordpress.com.

Kindly update your book marks to http://webonrails.com

and http://webonrails.com/feed .

I am really very sorry for inconvenience.

Comming Soon….

Domain for Sale

TheRailsHosting.com


(Contact me)

Calender

April 2024
M T W T F S S
1234567
891011121314
15161718192021
22232425262728
2930  

Subscribe

  • Add to Google
  • Subscribe in NewsGator Online
  • Subscribe with Bloglines
  • WebOnRails on feedburner
  • technorati

del.icio.us

Feeds

Flickr Photos

Visitor’s Location

Blog Stats

  • 18,599 hits