Ruby On Good way to output menu wit...

by andrew, September 01, 2010 17:39

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

2163d4cf4f5c70472dbc92e0e5959053 Talk

Ruby On DataMapper threaded benchmark

by hhop45r, September 01, 2010 08:19

Hack again?!

60858ad141de6f160ef6d1d3b238019a Talk

Ruby On Language Selection

by Omer Jakobinsky, August 30, 2010 09:12

Thanks both of you I really...

A289beedc9fd9fdeaaa905bd755f6f98 Talk
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...

94ef1c99f4d4567563f576783979804f Talk
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...

94ef1c99f4d4567563f576783979804f Talk
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...

Avatar Talk

Ruby On Sequel threaded benchmark

by creardahNat, August 28, 2010 18:26

Hello everybody,

What o...

Fbf9bc5c86f8f07d1f2f92f7df62dba8 Talk

Ruby On DataMapper threaded benchmark

by club magazine, August 27, 2010 16:24

Aw, this was a really quali...

Efc4bfd7dc24b380f3d94723d5bd1262 Talk
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 Language Selection

by Martin Plöger, August 27, 2010 14:35

I'd also put it in a helper...

E8f0d6e9bc8bca695b3c5bdf75cdcc03 Talk

Ruby On Help with module?!

by tragicdancer.myopenid.com, August 26, 2010 15:29

Thats great thank you! But ...

Avatar Talk
1
2
3
4
module Menus

  class Main_Menu
...

Ruby On Help with module?!

by steved, August 26, 2010 14:15
Avatar Talk

Ruby On DataMapper threaded benchmark

by hh0435tk, August 26, 2010 11:43

Hack again?!

43f7499143852bf1016ea3e34cf78430 Talk

Ruby On Web2.0 Domain Name Generator

by Panama, August 26, 2010 05:23

Hello Im PM'ing you in the ...

8ea218571cd94f400a422f558898df58 Talk
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...

727d5785259d057745de13a9f3a713f4 Talk
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...

727d5785259d057745de13a9f3a713f4 Talk

Ruby On Sum of the Column

by Paddy, August 25, 2010 18:20

Hi Adam,

Thank you for the...

6de3daa3f91b7169c85df7702b4fb1d4 Talk
1
2
3
4
def locale_links
  [:pl, :en].collect |locale|
    class =  (I18n.locale == locale) ? 'language_selected' : nil
...

Ruby On Language Selection

by sfusion, August 25, 2010 11:29

why not plonk it in a helper?

4f5d54213efb6502baab202f3fb2f09e Talk

Ruby On DataMapper threaded benchmark

by reouuyte7, August 24, 2010 17:15

Hack again?!

E33174772d20821fe4d275922a4950ab Talk
1
2
3
4
def format_category_list(categories)
  link_to_categories(categories.first(3)).tap do |output|
    if categories.size > 3
...

Ruby On Generating a list of 3 entr...

by Adam, August 24, 2010 15:30
A8d3f35baafdaea851914b17dae9e1fc Talk

Ruby On DataMapper threaded benchmark

by SausiaVah, August 24, 2010 13:43

Good day!
I've recently ...

911ae264a468f565c6d6b2644b44a47a Talk

Ruby On Fetch and parse feeds with ...

by Krzysztof Wilczynski, August 24, 2010 12:42

Adam += 1, nice re-factoring.

9dc2fe52cbc7a4f42b54d056e470efea Talk
1
2
3
4
def format_category_list(sub_categories)
  list = ""
  
...

Ruby On Generating a list of 3 entr...

by op, August 24, 2010 11:28

A little shorter..

Avatar Talk
1
2
3
4
class Feeds
  FEEDS = %W(
    http://feed.kennisnet.nl/Basisonderwijs
...

Ruby On Fetch and parse feeds with ...

by Adam, August 24, 2010 00:41 Star_fullStar_fullStar_fullStar_fullStar_full
A8d3f35baafdaea851914b17dae9e1fc Talk

Ruby On DataMapper threaded benchmark

by SausiaVah, August 23, 2010 17:34

Hello!
Check out
an e...

6230de592d70b3d296d11072bb72b958 Talk

Ruby On DataMapper threaded benchmark

by jjp34rerer, August 23, 2010 11:33

Hack again?!

E12c7ad3ce0cebfa69b092b1ade4606a Talk