サクサク読めて、アプリ限定の機能も多数!
トップへ戻る
大そうじへの備え
www.suffix.be
There is the built-in click_link method when you want to follow a link in your Capybara tests: click_link('edit') This works fine when you are testing a text link; however, this doesn't work when there is no text. Like a link with an image for example: <a href="/post/3/edit"> <img alt="Edit" src="/images/edit.png"> </a> Luckily there are some simple workarounds Here are two. The id attribute You c
I played with the latest Rails 3 beta release today (version 3.0.0.beta4) and noticed the following depreciation warning: DEPRECATION WARNING: form.error_messages was removed from Rails and is now available as a plugin. Apparently the old ‘error_messages_for’ violated the core Rails principles of never dictating the look and feel of an application. Indeed, it includes fixed HTML and copywriting, n
このページを最初にブックマークしてみませんか?
『www.suffix.be』の新着エントリーを見る
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く