1 2 3 4
require 'addressable/uri' uri = Addressable::URI.parse(the_uri) ...
Ruby On Set value of key in uri
by Yury Kotlyarov,
August 29, 2010 20:46
addressable gem is the best...
1 2 3 4
require 'addressable' uri = Addressable::URI.parse('http://brainhouse.ru/path?aa=bb&cc=dd') ...
Ruby On Query String to Hash
by Yury Kotlyarov,
August 29, 2010 17:32
I prefer to use addressable...
1 2 3 4
module Menus def self.getValidPositiveNumber ...
Ruby On Help with module?!
by tragicdancer.myopenid.com,
August 29, 2010 14:08
Do anyone know how to incor...
Ruby On DataMapper threaded benchmark
by club magazine,
August 27, 2010 16:24
Aw, this was a really quali...
1 2 3
def locale_links [:pl, :en].map { |locale| link_to locale.to_s.upcase, {:locale => locale}, (:class => :language_selected if I18n.locale == locale)}.join ' | ' end
Ruby On Help with module?!
by tragicdancer.myopenid.com,
August 26, 2010 15:29
Thats great thank you! But ...
Ruby On Web2.0 Domain Name Generator
by Panama,
August 26, 2010 05:23
Hello Im PM'ing you in the ...
1
:conditions => ["lower(replace('#{params[:id]}',' ','-')) = ?", params[:id]]
Ruby On Rails DB Field to Image Out...
by doppler,
August 26, 2010 04:13
oops. that :select should b...
1 2 3 4
def images image_class = Kernel.const_get(params[:class].capitalize) result = image_class.find( ...
Ruby On Rails DB Field to Image Out...
by doppler,
August 26, 2010 04:09
I'll take a stab at this. T...
1 2 3 4
def locale_links [:pl, :en].collect |locale| class = (I18n.locale == locale) ? 'language_selected' : nil ...
1 2 3 4
def format_category_list(categories) link_to_categories(categories.first(3)).tap do |output| if categories.size > 3 ...
Ruby On DataMapper threaded benchmark
by SausiaVah,
August 24, 2010 13:43
Good day!
I've recently ...
Ruby On Fetch and parse feeds with ...
by Krzysztof Wilczynski,
August 24, 2010 12:42
Adam += 1, nice re-factoring.
1 2 3 4
def format_category_list(sub_categories) list = "" ...

Hi..I don't know why do u h...