Spreewald includes a few useful steps for debugging a Capybara session. Then show me the page # => Opens the page in the browser Then debugger # => Open a debugging session

...is a kind of features in web applications that hinder automated integration tests. Examples include cookie consent banners or form captchas. Clearly, these should be disabled so you do not...

dead-code.org

...2D ones and modern 2.5D games (3D characters on 2D backgrounds). The kit includes the runtime interpreter (Wintermute Engine, or WME) and GUI editors for managing and creating the...

stackoverflow.com

...use ActiveRecord's columns_hash method. It returns a hash of column objects that include a type attribute (and more database-related information). Example: Contract.columns_hash['id'].type => :integer Contract.columns...

makandra dev
jakiestfu.github.com

...to plain text areas, making it much more enjoyable to write code in. Features include: Custom Code/Behavior Fencing Hard and Soft Tabs Auto Open/Close Parenthesis, Brackets, Braces, Double and Single...

blog.hashrocket.com

...production environment have real live email addresses that receive real live emails. The post includes monkey patch for ActionMailer that rewrites the domain of all recipients. It's a different...

dev.mysql.com

The next version of MySQL will include a built-in memcached daemon. This daemon can quickly get and set key/value pairs from and to InnoDB tables while completely bypassing the...

Did you use the :select option in a find, and forgot to include foo...

makandra dev
fontawesome.com

...fix". It allows you to keep v4 icon names on v5. The linked page includes details on using that, and a migration guide including a list of icon renames...

jakearchibald.com

...horrible. You might end up with worse performance than without pushing. However, the article includes a great explanation of how HTTP/2 push are supposed to integrate with browser APIs...

jakearchibald.com

Showing various caching patterns. Includes WhatsApp screenshots...

nandovieira.com

...JSON data and choose the one that matches your use case best. Rails 4.2 includes support for jsonb columns, too. The article outlines different ways on how to interact with...

blog.mariadb.org

MariaDB 10 includes numerous innovations developed with and for web-scale players like Google, Fusion-IO and Taobao such as Replication, NoSQL Capabilities, Sharding...

fortawesome.github.com

...with CSS animations, smaller file size, possibility to sub-set the font to only include the icons you need...

rubyinside.com

While 2.0 will include a number of syntax changes, new features and general improvements, mentioned below, it is anticipated to remain backward compatible with code written for 1.9.3 and Matz...

adobe.com

...FileReference.download operations may be initiated only through ActionScript that originates from user interaction. This includes actions such as clicking the mouse or pressing the keyboard...

code.google.com

JSViz makes it easy to create dynamic 2D views of information. Practical applications include network graphs, navigation, and other dynamic layouts...

buildingwebapps.com

...or they will fail. To make this happen, all you need to do is include the names of the actions that service the requests in your ssl_required statement...

successfulsoftware.net

...making the same mistakes. To my surprise I got excellent 12 responses, which I include below along with one of my own. It is a small sample and biased by...

If your Ruby project includes a gem like Spreewald that comes with some external step definition, RubyMine does not know about them by default and will highlight the step as...

...I should get a download with the filename "([^\"]*)"$/ do |filename| page.driver.response.headers['Content-Disposition'].should include("filename=\"#{filename}\"") end Webrat Then /^I should get a download with the filename "([^\"]*)"$/ do |filename...

...response.headers['Content-Disposition'].should include("filename=\"#{filename}\"")

...If you want to allow setting #id on .new, .create or create! you can include the attached module in order to whitelist #id on a model of your choice like...

class MyModel < ActiveRecord::Base include AllowSettingIdOnCreate end Note that your controllers should always whitelist the attributes they set on model records...

group :cucumber do ... gem 'headless' end Go to your features/support/env.rb file and include the following snippet: require 'headless' headless = Headless.new at_exit do headless.destroy end Before("@selenium,@javascript...

...token with #{Rails.env unless Rails.env.production?}. Note: There may be tokens in single quotes that include backslashes, double quotes etc. You should not change this to double quotes because Ruby would...