Skip to content

Instantly share code, notes, and snippets.

@wycats
Created May 22, 2010 23:36
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wycats/410463 to your computer and use it in GitHub Desktop.
Save wycats/410463 to your computer and use it in GitHub Desktop.
Class methods:
after_filter | Running code before, after, or around actions
append_after_filter | Running code before, after, or around actions
append_around_filter | Running code before, after, or around actions
append_before_filter | Running code before, after, or around actions
append_view_path | Controlling where Rails looks for views
around_filter | Running code before, after, or around actions
before_filter | Running code before, after, or around actions
cache_page | Page caching
cache_sweeper | Sweeping expired elements from the cache
caches_action | Action caching
caches_page | Page caching
clear_respond_to | Responding to a request based on its format
expire_page | Page caching
helper | Core methods for exposing helpers to views
helper_attr | Extending the core methods for exposing helpers to views
helper_method | Core methods for exposing helpers to views
helpers | Extending the core methods for exposing helpers to views
hide_action | Specifying that public controller methods are not actions
layout | Adding support for layouts to the core template rendering
middleware | Core HTTP controller methods
prepend_after_filter | Running code before, after, or around actions
prepend_around_filter | Running code before, after, or around actions
prepend_before_filter | Running code before, after, or around actions
prepend_view_path | Controlling where Rails looks for views
protect_from_forgery | Protecting your application from CSRF attacks
rescue_from | Declaratively rescuing exceptions
respond_to | Responding to a request based on its format
skip_after_filter | Running code before, after, or around actions
skip_around_filter | Running code before, after, or around actions
skip_before_filter | Running code before, after, or around actions
use | Core HTTP controller methods
view_paths | Controlling where Rails looks for views
view_paths= | Controlling where Rails looks for views
Instance methods:
[dynamic]_path | Creating URLs or paths
[dynamic]_url | Creating URLs or paths
action_name | Core controller methods
action_name= | Core controller methods
alert (request.flash) | Flash notifications
append_view_path | Controlling where Rails looks for views
authenticate_or_request_with_http_basic | Basic authentication
authenticate_or_request_with_http_digest | Digest authentication
authenticate_or_request_with_http_token | Token authentication
authenticate_with_http_basic | Basic authentication
authenticate_with_http_digest | Digest authentication
authenticate_with_http_token | Token authentication
cache_page | Page caching
content_type | Core HTTP controller methods
... | Delegating controller methods to ActionDispatch::Request
content_type= | Core HTTP controller methods
... | Delegating controller methods to ActionDispatch::Request
controller_name | Core HTTP controller methods
cookies | Cookies
dom_class | Converting model objects into DOM strings
dom_id | Converting model objects into DOM strings
env | Core HTTP controller methods
env= | Core HTTP controller methods
expire_fragment | Fragment caching
expire_page | Page caching
expires_in | Caching with Last-Modified and ETags
expires_now | Caching with Last-Modified and ETags
flash (request) | Flash notifications
fragment_exist? | Fragment caching
fresh_when | Caching with Last-Modified and ETags
head | Setting HTTP response headers
headers | Core HTTP controller methods
... | Delegating controller methods to ActionDispatch::Request
headers= | Core HTTP controller methods
l | Internationalizing Strings
localize | Internationalizing Strings
location | Core HTTP controller methods
... | Delegating controller methods to ActionDispatch::Request
location= | Core HTTP controller methods
... | Delegating controller methods to ActionDispatch::Request
notice (request.flash) | Flash notifications
params | Core HTTP controller methods
... | Delegating controller methods to ActionDispatch::Request
params= | Core HTTP controller methods
polymorphic_path | Creating URLs from model objects
polymorphic_url | Creating URLs from model objects
prepend_view_path | Controlling where Rails looks for views
process_action | Instrumenting methods in ActionController
read_fragment | Fragment caching
redirect_to | Redirecting the user to a new page
... | Flash notifications
render | Core template rendering methods
... | Rendering a template to an HTTP client
render_to_string | Core template rendering methods
request | Core HTTP controller methods
request= | Core HTTP controller methods
reset_session | Delegating controller methods to ActionDispatch::Request
respond_to | Responding to a request based on its format
respond_with | Responding to a request based on its format
response | Core HTTP controller methods
response= | Core HTTP controller methods
response_body | Core controller methods
response_body= | Core HTTP controller methods
... | Delegating controller methods to ActionDispatch::Request
session (@_request) | Core HTTP controller methods
stale? | Caching with Last-Modified and ETags
status (@_response) | Delegating controller methods to ActionDispatch::Request
... | Core HTTP controller methods
status= | Core HTTP controller methods
... | Delegating controller methods to ActionDispatch::Request
t | Internationalizing Strings
translate | Internationalizing Strings
url_for | Creating URLs or paths
url_options | Creating URLs or paths
write_fragment | Fragment caching
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment