[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
redmineにはwikiがついてます。 基本Textile形式で記述する物なの ...
このワーニング 「warning: peer certificate won’t ...
remote_tableはリモート(またはローカル)にあるExcel、CSVファ ...
RailsのActiveRecordは、updated_atとcreated_a ...
Aptana Studio 3でEGitを入れているのに Aptana Stud ...