Clear a Solr index with acts_as_solr

Posted Over 13 years ago by Henning Koch.

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

Fixing "A copy of Klass has been removed from the module tree but is still active"

Posted Over 13 years ago by Henning Koch.

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

Configuring Git with .gitconfig

Posted Over 13 years ago by Dominik Schöler.

Basic configuration Please keep this config simple. It should be a starting point for new developers learning Git. [user]

Slugs with FriendlyId

Posted Over 13 years ago by Tobias Kraze.
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...

Ruby, Rails, Web2.0 » Blog Archive » Great Ruby on Rails REST resources

Posted Over 15 years ago by Lexy.
rubyrailways.com

I have been playing around with RESTful Rails recently. Below is my collection or Rails REST howtos, tutorials and other...

Bill de hÓra: "Just" use POST

Posted About 15 years ago by Lexy.
dehora.net

PUT means update the resource with this entity, which tends means "overwrite". Now think for a moment about how that...

mca blog [de hÓra: "Just" Use Post]

Posted About 15 years ago by Lexy.
amundsen.com

Once you start introducing partial updates, you open yourself for caching problems. doing partial updates means all cached copies of...

mca blog [REST Upside Down]

Posted About 15 years ago by Lexy.
amundsen.com

i keep looking for ways to help people 'get' REST. not URLs or HTTP Methods; but REST itself - in a...

Ruby on Rails » Keeping Up With The Joneses: Keeping Rails and its extensions up to date » Pathfinder Development

Posted About 15 years ago by Lexy.
pathf.com

There are many wonderful things about Rails and the Rails ecosystem. A clean, well-lighted path for keeping all your...

Mike On Ads » Blog Archive » Using your browser URL history to estimate gender

Posted About 15 years ago by Lexy.
mikeonads.com

One of the things that I always wanted to do but never got around to was to analyze a user...

SourceForge.net: SWFRIP: Files

Posted About 15 years ago by Lexy.
sourceforge.net

SWFRIP is a Macromedia Flash resource extractor and editor. It can save resources in various formats, including SVG conversion from...

PragDave: The RADAR Architecture: RESTful Application, Dumb-Ass Recipient

Posted About 15 years ago by Lexy.
pragdave.pragprog.com

So, as a result, people using RESTful ideas to talk to browsers have to put the smarts back on the...

paperplanes. run_later Gets Some Rails 2.3 Middleware Love

Posted About 15 years ago by Lexy.
paperplanes.de

In earlier version I needed to do an awkward thing that only affected development mode, where Rails unloads all classes...

ModPorter - Painless file uploads

Posted About 15 years ago by Lexy.
modporter.com

Porter is essentially the inverse of X-SendFile. It parses the multipart post in C inside your apache process and...

rest-discuss : Message: Re: [rest-discuss] REST, HTTP, Sessions and Cookies

Posted Almost 15 years ago by Lexy.
tech.groups.yahoo.com

Most of the problems with cookies are due to breaking visibility,

Sam Ruby: Progressive Disclosure

Posted Almost 15 years ago by Lexy.
intertwingly.net

Without intending to take anything away from Roy’s (valid) criticism on labeling, REST isn’t an all or nothing...

James on Software | Introducing Trample: A Better Load Simulator

Posted Almost 15 years ago by Lexy.
jamesgolick.com

Trample is a more flexible load simulator. Instead of a static list of urls, trample's configuration language is ruby...

The Rails Way: Taking Things Too Far: REST

Posted Almost 15 years ago by Lexy.
therailsway.com

RSpec is getting too intimate with my code | opensoul.org

Posted Over 14 years ago by Lexy.
opensoul.org

What if my controller decides to take the Thing.create! and rescue route? What if my model has a special initializer...

aanand's deadweight at master - GitHub

Posted Over 14 years ago by Lexy.
github.com

Deadweight is RCov for CSS, kind of. Given a set of stylesheets and a set of URLs, it determines which...

MailStyle: A HTML Email Plugin for Ruby on Rails | Purify Blog

Posted Over 14 years ago by Lexy.
blog.purifyapp.com

MailStyle allows you to write the css for your html emails as you normally would, then writes the styles inline...

geuis's helium-css at master - GitHub

Posted Over 14 years ago by Lexy.
github.com

Helium accepts a list of URLs for different sections of a site then loads and parses each page to build...

rest-client - Project Hosting on Google Code

Posted About 14 years ago by Lexy.
code.google.com

RESTClient is a Java application to test RESTful webservices. It can be used to test variety of HTTP communications.