User Alerts in Rails With Message Block: & Testing Gems With Cucumber/Cukigem
User Alerts in Rails With Message Block: & Testing Gems With Cucumber/Cukigem
User Alerts in Rails With Message Block: & Testing Gems With Cucumber/Cukigem
Ben Hughes
@rubiety
<script type="text/javascript">
document.observe('dom:loaded', function() {
message_block = new MessageBlock('message_block');
message_block.update({
error: ['Error One', 'Error Two'],
confirm: ['Confirmation Message']
});
$ rake message_block:install
• Making the host app use your gem with Bundler is challenging
Ben Hughes
@rubiety
http://github.com/rubiety