Skip to content

Instantly share code, notes, and snippets.

@pjaspers
Created March 10, 2010 22:20
Show Gist options
  • Save pjaspers/328516 to your computer and use it in GitHub Desktop.
Save pjaspers/328516 to your computer and use it in GitHub Desktop.
A list of RoR keywords to use with typespeed.
Rails
after_create
after_destroy
after_filter
after_save
after_update
after_validation
after_validation_on_create
after_validation_on_update
alias
alias_attribute
alias_method_chain
and
around_filter
attr
attr_accessible
attr_accessor
attr_protected
attr_reader
attr_readonly
attr_writer
before_create
before_destroy
before_filter
before_save
before_update
before_validation
before_validation_on_create
before_validation_on_update
begin
belongs_to
break
case
catch
cattr_accessor
class
composed_of
def
defined
delegate
do
else
elsif
end
ensure
extend
false
filter
filter_parameter_logging
for
gem
has_and_belongs_to_many
has_many
has_one
helper
helper_method
hide_action
if
in
include
initialize
layout
loop
mattr_accessor
model
module
module_function
named_scope
new
next
nil
not
observer
or
private
protected
public
raise
redirect_to
redirect_to_path
redirect_to_url
redo
render
render_action
render_component
render_file
render_nothing
render_template
render_text
render_without_layout
require
require_dependency
rescue
rescue_from
respond_to
retry
return
returning
scaffold
self
serialize
service
skip_after_filter
skip_before_filter
super
then
throw
true
undef
unless
until
url_for
validate
validate_on_create
validate_on_update
validates_acceptance_of
validates_associated
validates_confirmation_of
validates_each
validates_exclusion_of
validates_format_of
validates_inclusion_of
validates_length_of
validates_numericality_of
validates_presence_of
validates_size_of
validates_uniqueness_of
verify
when
while
yield
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment