Install ruby-ldap on Mac

September 09, 2007 @ 05:36 PM | posted by carmelyne

(last updated: 09.09.07)

Playground -- rails needing ldap

1
2
3
4
5
6
7
cd /usr/local/src
curl -O http://umn.dl.sourceforge.net/sourceforge/ruby-ldap/ruby-ldap-0.9.7.tar.gz
tar xzvf ruby-ldap-0.9.7.tar.gz
cd ruby-ldap-0.9.7
ruby extconf.rb
make
make install

Photos: July 28 Random

July 28, 2007 @ 10:45 AM | posted by carmelyne

(last updated: 08.04.07)

Some Random Images from 2007, July 28 @ Six Flags


carmelyne's photos More of carmelyne's photos

Note: Photos not available via RSS. Please visit the site or Flickr. Thanks :)

Photos: Just an image

July 23, 2007 @ 12:34 AM | posted by carmelyne

(last updated: 07.23.07)

Random image I took during an afternoon walk...

Photos: July 12 Random

July 14, 2007 @ 09:51 AM | posted by carmelyne

(last updated: 07.14.07)

Some Random Images from 2007, July 12 Walk by the Lake


carmelyne's photos More of carmelyne's photos

Note: Photos not available via RSS. Please visit the site or Flickr. Thanks :)

Photos: July 4 Random

July 14, 2007 @ 09:18 AM | posted by carmelyne

(last updated: 07.14.07)

Some Random Images from 2007, July 4 Afternoon


carmelyne's photos More of carmelyne's photos

Note: Photos not available via RSS. Please visit the site or Flickr. Thanks :)

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