<%= select_tag :editor_id, options_for_select(Member.where(:role => :editor).select {|m| m.authentications.count > 0 }.collect { |u| [u.name, u.id] } ) %
Ruby messy Rails select
def validate_permalink(attr_name)
permalink = sanitize_permalink( permalink?? attr_name : permalink )
end
pages.keys.each do |k|
logger.debug "Pages for #{k} channel:"
...
Ruby Can this be less clunky?
"pages" is a Hash and conta...
class IterableContainer CONT = ['a','b','c','d'],[1,2,3,4],['x','y','z'] ...
Ruby [Ruby] Iterating...
I'm afraid I'm still thinki...
module Anubis module ShardAccess ...
Ruby On An attempt at Ruby modules ...
by bruno antunes,
April 03, 2009 09:41
However, since the net/http...
Ruby On An attempt at Ruby modules ...
by bruno antunes,
April 03, 2009 09:21
Thanks for the input, looks...
module Anubis module ShardAccess ...
Ruby An attempt at Ruby modules ...
by bruno antunes,
April 02, 2009 17:10,
3 refactorings, tagged with ruby modules namespaces net http
this is an access library t...

any help appreciated!