DoD: Got too flowery

August 02, 2007 @ 01:59 PM | posted by carmelyne

(last updated: 08.02.07)

Doodling for the sake of doodling flowers

[ Last updated: August 02, 2007 @ 02:00 PM ]


2 Responses to...
“DoD: Got too flowery”

  1. Gloria W:

    Nice doodles :)

    Gloria



    Posted:
  2. carmelyne:

    Thanks, Gloria!



    Posted:

Sorry, comments are closed for this article.

Snippets of 06/24/07

Rails 'A'..'Z' Paginate

1
2
3
4
5
6
7
8
9
10
11
# Starts with 'A'..'Z' Paginate / model
def self.sort(sort)
  if sort
    find(:all, :conditions => ['name LIKE ?', "#{sort}%"])
  else
    find(:all, :order => 'name')
  end  
end

# index action / controller
@models = Model.sort(params[:sort]) 
RailsConf 2006
I heart devChix