Contents

_M.rails

The rails module. It provides utilities for editing Ruby on Rails code.

Key Bindings


Fields


sense

The Rails Adeptsense. It loads user tags from _USERHOME/modules/rails/tags and user apidocs from _USERHOME/modules/rails/api.


singular

A map of plural controller names to their singulars. Add key-value pairs to this if the local function singularize() is incorrectly converting your plural controller name to its singular model name.


Functions


load_project(utf8_dir)

Opens a Rails project for snapopen. If not directory is provided, the user is prompted for one.

Parameters:


Tables


_G.keys.rails

Container for Rails-specific key bindings.


_G.snippets.rails

Container for Rails-specific snippets.