[Ruby on Rails]Controller内でHelperに定義したメソッドを使う
Controller内でHelperに定義したメソッドを使うには
[ruby]ApplicationController.helpers.my_method(text)[/ruby]
という感じで書けば使用できる
2012年2月1日
Controller内でHelperに定義したメソッドを使うには
[ruby]ApplicationController.helpers.my_method(text)[/ruby]
という感じで書けば使用できる
Posted by GENDOSU

Rails 2.*系のプロジェクトで、rakeコマンドをたたくと、 rake/r ...

Ruby on Railsで数値を整形する場合、ActionViewには便利なヘ ...

Aptana Studio 3でEGitを入れているのに Aptana Stud ...

redmineにはwikiがついてます。 基本Textile形式で記述する物なの ...

モジュールがインクルードされているか it "should include Au ...
