[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

remote_tableはリモート(またはローカル)にあるExcel、CSVファ ...

Ruby on Railsの本番実行環境として定着したpassengerです。 ...

Railsで日付処理は、意外と簡単に出来たりする。 1日前 1.days.ago ...

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

Railsでsend_fileというメソッドがある これは、ファイルなどをそのま ...
