[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
必要なパッケージをインストールする たぶん、このインストールだけで済むはず。 s ...
このワーニング 「warning: peer certificate won’t ...
Aptana Studio 3でEGitを入れているのに Aptana Stud ...
rspecでUserAgentのテストをする場合の、テストデータの設定 requ ...
remote_tableはリモート(またはローカル)にあるExcel、CSVファ ...