Thax - Wiki Development
Ruby
Gem install - Non standard
PREFIX=$HOME
export GEM_HOME=$PREFIX/lib/ruby/gems/1.8
export RUBYLIB=$PREFIX/lib/ruby:$PREFIX/lib/site_ruby/1.8
ruby setup.rb all --prefix=$PREFIX
You may add GEM_HOME and RUBYLIB into your ~/.profile file to automatically load on login.
Also needed to add export RUBYLIB=$RUBYLIB:~/local/lib/site_ruby/1.8
to find the stupid ruby gems
What is method_missing?
The Best of Method Missing ( Via Why of RedHanded )
The following is from 10 things you should know about method_missing
1. method_missing is a Ruby kernel method and everyone should know about it.
2. Rails implements some of its funkiest magic with method_missing. When you ask your model to find_by_freaky_column_name, and it does so, that’s because ActiveRecord::Base overrides the kernel’s method_missing method.
3. method_missing is the method of last resort
This seems to be the Ruby equivalent of Perl's AUTOLOAD.
Weirdness about Duplicate entry '1' for key 1
when trying to save an activerecord.
The culprits
- No autoincrement on ID column
- validate_uniqueness_of too restrictive
REXML Tutorial
Ruby Conf 2005
Time Stuff
http://www.rubycentral.com/ref/ref_c_time.html
RBAC Stuff and Logon Generators
https://rbaconrails.turingstudio.com/trac/wiki/FullSpecification
From the Ruby on Rails Wiki
Some the the Salted Logon Generators, Authentication etc on the Wiki came from
http://typo.leetsoft.com/trac.cgi/file/branches/users/README_LOGIN
Ruby Templating
ERB (as used by Ruby on Rails)
http://www.ruby-doc.org/stdlib/libdoc/erb/rdoc/classes/ERB.html
http://www.kuwata-lab.com/kwartz/users-guide.en.01.html
Collection of Material
Ruby Homepage
Ruby on Rails (Official Homepage)
Matz presentation at OSCON2005
Articles
Really getting started with Rails
Interview with Matz
Introduction to Ruby for Java Progammers
10 Things Java Programmers should know about Ruby
Gruff graphing library for Ruby
Ruby Evangelism - Why Ruby?
Notes on RubyOnRails
Certificate Parsing and OpenSSL
http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/134206
http://raa.ruby-lang.org/gonzui/markup/pkitoolkit/README.rdoc
http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-core/10857 (bug in h.peer_cert)
Verifying Server certificates in Ruby
http://brianellin.com/blog/2006/03/18/verifying-server-certificates-in-ruby/