ActsAsSolr::Post.execute(Solr::Request::Delete.new(:query => "#{Location.solr_configuration[:type_field]}:#{ModelClass}")) ActsAsSolr::Post.execute(Solr::Request::Commit.new)

This can happen during development when classes without automatic reloading are pointing to classes with automatic reloading. E.g. some class...

You are getting when connecting via SSH or deploying with Capistrano (which uses SSH): Too many authentication failures for username...

When you include a non-existing Javascript file, you probably won't notice it during development. But with caching active...

makandra dev
github.com

Gem to provide nice looking urls ("/blog/the-greatest-bug-i-never-fixed"). If you don't need anything too special (like i18n for the urls...

pathf.com

A while back, I had a requirement to persist a record of which email addresses were sent an email through...

dev.rubyonrails.org

List of Rails releases.

github.com

Reads Active Record's validations and makes them available to live client side javascript

tagaholic.me

Rails’ script/console makes it easy to fetch, view and edit your database records. But can you edit those records as...

youngpup.net

PNG transparency for IE 6.

code.google.com

MMM (MySQL Master-Master Replication Manager) is a set of flexible scripts to perform monitoring/failover and management of MySQL Master...

aub.github.com

Record Filter gives you the full power of ActiveRecord's query building tools with a heaping helping of DSL thrown...

igvita.com

The idea behind scrooge is both surprisingly simple and powerful: instead of forcing the developer to manually specify each attribute...

bret.appspot.com

After some deliberation, we decided to implement a "schema-less" storage system on top of MySQL rather than use a...

friendlyorm.com

Store schema-less data in MySQL.

m.onkey.org

So here’s an overview of how things are going to work in Rails 3.

github.com

Ambitious Query Indexer is a Rails plugin to identify database indexes that are missing. Rather than looking at tables and...

github.com

A simple implementation of an Identity Mapper for Active Record.

teddziuba.com

They don't teach you this in college, but the fundamental theorem of the software industry is the idea that...

Just assign the existing attachment to another record: new_photo = Photo.new new_photo.image = old_photo.image Paperclip will duplicate the file when saving...

Best results in other decks

Max Swahn's deck

Max Swahn attended the University of Pittsburgh, Swanson School of Engineering. He graduated in 2018 with a degree in Industrial...

Let's assume you are having your observation/measurement data in in a pd.DataFrame or in any kind of a file...

Search in all decks