Access control in ruby.