Flowdock
method

parse_type_and_options

Importance_1
Ruby on Rails latest stable (v4.0.2) - 0 notes - Class: Rails::Generators::GeneratedAttribute
parse_type_and_options(type) private

parse possible attribute options like :limit for string/text/binary/integer, :precision/:scale for decimals or :polymorphic for references/belongs_to when declaring options curly brackets should be used

Show source
Register or log in to add new notes.