タグ

関連タグで絞り込む (1)

タグの絞り込みを解除

ActiveSupportに関するpokutunaのブックマーク (1)

  • rhinefordの日記

    active_support/core_ext/module.rb active_support/core_ext/module以下のファイルをrequireする。 active_support/core_ext/module/aliasing.rb メソッドをaliasするメソッドの定義。 alias_method_chain(target, feature) alias_method :target_without_feature, :target alias_method :target, :target_with_feature と同義。targetメソッドをtarget_without_featureというメソッドにaliasして、target_with_featureメソッドをtargetにaliasする。 target_with_feature(aliasされたtarget)

    rhinefordの日記
    pokutuna
    pokutuna 2011/06/23
    テーブル名の変換 tableize <=> classifyはActiveSupport::Inflectorに定義されてるのか
  • 1