Assuming the following sunspot setup of the post class: class Post < ActiveRecord::Base searchable do text :title string :state

Note: Instead of using the method in this card, you probably want to use ActiveType's nested attributes which is...

Every now and then, Java is subject to security issues where code can break out of Java's sandbox and...

When committing, you should always check the diff of your changes so you don't include any leftovers or irrelevant/bad...

Sometimes you need to look at the filter chain in specs. You can do it like that on Rails 2...

I was experiencing the following problem: It seems your ruby installation is missing psych (for YAML output). To eliminate this...

If you encounter a Firefox that does not care about your font settings but always uses specific fonts, you can...

Never name your shared example group *_spec.rb. Otherwise rspec will try to load your example group as a spec and...

github.com

Internet Explorer until version 9 has some limitations when parsing CSS files Summarized, these are: Up to 31 CSS files...

So your Cucumber feature sometimes dies with this exception: Modal Dialog Present (Selenium::WebDriver::Error::UnhandledAlertError) As a seasoned Selenium...

logicalfriday.com

How delayed jobs can make your after_save callbacks execute before the record is saved.

For string columns, MySQL indexes the left side of a string. That means an index can speed a like query...

jetbrains.com

You can quickly access views that belong to a controller by using the tiny "page with arrow" icon in the...

github.com

In Selenium features the server and client are running in separate processes. Therefore, when mocking time with a tool like...

Be careful when stubbing out attributes on records that are defined by associations. Nothing is as it seems to be...

It might be one of the following: You are looking at a manifest file (like application.css) which is always empty...

makandra dev
softwareishard.com

This Firebug feature is called simply Log Events and allows developers to log DOM events into the Console panel.

github.com

No one wants to cry over regression issues in views; does testing HTML and CSS have to be such a...

makandra dev

The attached initializer gives your hashes a #deep_slice method that lets you recursively slice their contents by a given...

makandra dev
sourceforge.net

ReText is a cross-platform WYSIWYG-ish Markdown editor. Toggle editor and preview layout with Ctrl+E.\

makandra dev
twitter.github.com

Explanation of the "bootstrap 2" base CSS. Contains information about: Typography Code Tables Forms Buttons Icons

makandra dev
blog.jquery.com

No big features, but many improvements under the hood: Faster selector engine Many bug fixes Note that jQuery 2.0, scheduled...

blog.hashrocket.com

Testing with real live production data does come with at least one catch. All those real live users in your...

So you got this error, even though your Gemfile bundles mysql2: !!! Missing the mysql2 gem. Add it to your Gemfile...