RubyGems Navigation menu

selection_options_for 0.0.7

This code allows you to keep the display labels in the model when the DB holds only a 1 character flag. and when the code requires symbolic references to the value to use in algorithms element 0 of the array passed in is always the logical symbol If a 2-element Array is passed in, [key, label] and the first letter of label is the DB value If a 3-element Array is passed in, [key, DB value, label] Any other type passed in throws an error Limitations: Don't use this if you will run reports directly against the DB In that case, the reports will not have access to the display labels

版本列表:

  1. 0.0.9 - October 30, 2012 (786.5 KB)
  2. 0.0.8 - October 30, 2012 (298.5 KB)
  3. 0.0.7 - October 30, 2012 (59.0 KB)
  4. 0.0.6 - March 22, 2012 (16.5 KB)
  5. 0.0.5 - March 09, 2012 (8.5 KB)

Runtime 依赖关系 (1):

Development 依赖关系 (1):

作者:

  • Mark Windholtz

所有者:

SHA 256 checksum:

73063542ed02c1bc35017e5e97adae5dfbf6d3a3c177a3c9363514c518be016a

下载总次数 9,413

这个版本 1,576

Gemfile:
= 复制到剪贴板 已复制

安装:
=

许可s:

需要的 Ruby 版本:

相关链接: