ActsAsSolr::Post.execute(Solr::Request::Delete.new(:query => "#{Location.solr_configuration[:type_field]}:#{ModelClass}")) ActsAsSolr::Post.execute(Solr::Request::Commit.new)
To call a class method (or static method) from an instance method: class.method() To call a class method from a...
This can happen during development when classes without automatic reloading are pointing to classes with automatic reloading. E.g. some class...
To run a single test file: rake test:units TEST=test/unit/post_test.rb rake test:functionals TEST=test/functional/posts_controller_test.rb rake test:integration TEST...
Basic configuration Please keep this config simple. It should be a starting point for new developers learning Git. [user]
You are getting when connecting via SSH or deploying with Capistrano (which uses SSH): Too many authentication failures for username...
Ruby Rails Any gem
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...
Cerberus is a lightweight and easy-to-use Continuous Builder software for Ruby. It could be run periodically from a...
Given a list of acceptable elements and attributes, Sanitize will remove all unacceptable HTML from a string.
Awesome library to consume web services in Ruby.
This project is (or will be) a best effort semi-static verifier for your Ruby on Rails projects. Delivered as...
I have been playing around with RESTful Rails recently. Below is my collection or Rails REST howtos, tutorials and other...
I was setting up a Subversion repository one year ago. Of course, I also wanted to have regular backups of...
Sinatra is a DSL for quickly creating web-applications in Ruby with minimal effort.
Faker, a port of Data::Faker from Perl, is used to easily generate fake data: names, addresses, phone numbers, etc...
Guarded method invocation or safe navigation method for Ruby.
Professionals can be recognised by the fact that they minimize complexity. Small modules, complete isolation of modules, minimal (in number...
YAML List of all translations currently available in Rails
Squirrel is an enhancement for ActiveRecord’s find method that allows programmers to query the database using a more Rubyish...
ObjectiveResource is an Objective-C port of Ruby on Rails' ActiveResource. It provides a way to serialize objects to and...
If you know Ruby and you want to write applications for Mac OS X or the iPhone, you’re in...
A couple of Railsconfs ago, Courtenay and I did indeed discuss
theman is a super simple "framework" that uses god/rufus-scheduler to create long running workers that do things at certain times...