
エントリーの編集

エントリーの編集は全ユーザーに共通の機能です。
必ずガイドラインを一読の上ご利用ください。
記事へのコメント1件
- 注目コメント
- 新着コメント
注目コメント算出アルゴリズムの一部にLINEヤフー株式会社の「建設的コメント順位付けモデルAPI」を使用しています

- バナー広告なし
- ミュート機能あり
- ダークモード搭載
関連記事
form_for and scopes, rails 3
I have a problem due to scopes and the form_for helper in rails 3. The routes - file looks like t... I have a problem due to scopes and the form_for helper in rails 3. The routes - file looks like this: scope "(/:tab)" do resources :article end The form looks something like this: <%= form_for(@article) %> <%= f.label :title %> <%= f.text_field :title %> etc. <%end%> The tab - attribute is stored in params[:tab], as a string My problem is that this genereate wrong urls in the form. How could I get
2011/07/12 リンク