The link pages on this site are a simple dump of my pinboard bookmarks. This allows me to search them from this site and ensures I have a backup, but it remains much easier to browse them on the pinboard site (via previous link). Btw, I highly recommend pinboard. They provide simple no-nonsense functionality, the pinboard blog is refreshingly honest and their support is quick, friendly and helpful. It's well worth the small cost. And in case you're wondering, I am not affiliated with pinboard in any way - I just like the cut of their jib!
Links tagged with 'rails'
Code snippet for logging a user in via their email when using restful authentication plugin.
Run Rails and Sinatra on different URLs via Rack
A swarm visualisation of the interaction between developers and the files they commit into a project. Check out the Rails vid at the bottom of the page to see Rails evolving from a single dev to a large community.
Git workflow example that makes sense.
Read / write record data from / to CSV file in Rails.
Rails caching mechanisms
Rails internals, e.g. the initialisation process
How to add a rails application to another rails application as a plugin.
Styling (rails) buttons to look like links and vice versa.
Vim plugin for Rails, to provide a variety of shortcuts to Rails specific actions.
Great Rails plugin for creating attachments, which I found to be a lot more reliable than attachment_fu.
With STI you have to use find_ids_with_ferret and if you want to get hold of the model fields without hitting the DB you need to store them and use the lazy option with the search.
Links to resources about newly released Rails 2.2.
Tutorial on processing credit cards with Rails.
A good tutorial about using acts_as_ferret plugin to integrate Ferret search index with Ruby on Rails applications.
How to host rails in a subdirectory by setting ActionController::AbstractRequest.relative_url_root in your production.rb config file.
An informative Ruby on Rails security presentation.
A cheatsheet for rails migration, with a nice table showing how Rails maps data types to the underlying database types.
Have capistrano prompt for svn password and generate database.yml.
Rails "best practice" in application design.
A useful set of applications to manage web applications, mainly Rails.
Environment.rb setting to have a Rails app (e.g. Typo) working in a subdirectory.
Article and discussion about scaling with fastcgi.
Example of test driven development writing a Typo sidebar plugin.
In Rails, if you make a typo with script/generate and get 'Script started, output file is generate', then you're now recording your shell session with a program called script. Stop it with 'exit' then delete the file called 'generate' that was created.
A good presentation on caching in Rails.
A comment from DHH about Rails in shared hosting environments (I believe in response to Dreamhost). There is a list of potential Rails hosts at the bottom (which is why I'm bookmarking it).
A useful method defined in Rails.
How to freeze a specific version of Rails in an application's vendor directory so that updates on the hosting environment don't break the app.
Best practice for using association proxies in Rails.
A list of some useful Rails plugins.
You can now use << with the has_many :through association in Rails.
An article on using Rails' ActiveResource for consuming web services, with a nice table showing examples of what's sent and received for each REST operation.
Using Ruby threads with Rails.
An overview of the changes in Rails 2.0.
Good advice.
Using jquery with Rails, using rjs (with a link to a page describing .js.erb).
A list of the most popular rails developers according to workingwithrails.com.
Nice online API documentation for Ruby on Rails.
A Rails work-around for how to read existing active record objects from the database and create new associations in memory (rather than having them automatically written to the database).
A comparison of has_and_belongs_to_many and has_many :through. i.e. Join Table vs Join Model.
Asynchronous Processing for Ruby (and Rails).
How to get around Rails reloading classes (hence reloading class variables) - just require your classes in environment.rb to prevent them being unloaded.
Rails caching tutorial.
Some good tips for Rails deployment, though rather old now.
Details about the Rails initialisation process and how to run config at different point in the process for different environments.
Easy way to "stripe" table rows in Rails (i.e. alternate their colour).
Good advice for controlling logging in Ruby on Rails.
A couple of ways to run background jobs in Rails.
How to achieve bi-directional communication between a DRb client and server. Also applies to BackgrounDRb.
A messaging system for Rails that allows it to kick off intensive tasks in a new "background" process.
BackgrounDRB is a Ruby job server and scheduler, initially conceived to allow Rails applications to kick off intensive tasks in a new "background" process.
BackgrounDRB is a Ruby job server and scheduler, initially conceived to allow Rails applications to kick off intensive tasks in a new "background" process.
Articles about real world experience of scaling a Ruby on Rails application.
An introduction to / comparison of scaling in Java and Ruby on Rails.
A potentially useful test plugin for Rails that spiders your site and tests for things like markup validity, routing, test coverage, form submission.
Benchmark comparison of acts_as_solr and acts_as_ferret Ruby on Rails search plugins.
How to manage 3rd party (vendor) code with Rails and Subversion.
Simple depth first search in rails.
How to run edge rails.
Feed (RSS and Atom) support in Ruby on Rails.
A useful checklist for Ruby on Rails application security.
Rails howto guides for developers.
You need to include fixtures from the globalize plugin in order to test it.
Information about the Rails 1.2 plugin initialization process.
How to load fixtures in order and how to load binary data in fixtures.
How to handle foreign keys in Rails.
An introduction to integration testing in Rails, for testing the interaction of multiple controllers.
A plugin that allows you to reference external fixtures from a fixture. Can be used to make your fixtures DRYer.
How to make your fixtures DRY by including ruby code to increment IDs and pull in data from other fixtures.
Example of when to use indexes for your database columns.
When to use indexes to columns in your database.
How to test Rails controllers that require login, applicable to plugins like acts_as_authenticated and restful_authentication
How to install and set up the Rails restful_authentication plugin.
How to use named routes in Rails.
A good programming practice for Rails.
Small, lightweight, Rails based forum software.
Some good points about the use of fixtures in Rails, most importantly, that fixtures should contain valid data - edge cases should be in the tests.
Popular Rails plugins.
A Rails plugin for managing fixtures in a set of scenarios - a nice way around several problems with normal fixtures.
Changes to how routes are specified since the simply_restful plugin was merged into the Rails core.
Graceful degradation for the RESTful Rails delete / destroy functionality. Note that it's slightly out of date when it comes to the new route. See http://www.jvoorhis.com/articles/2006/07/31/whats-new-in-edge-rails-restful-routes
Rails with Gentoo wiki article, including how to install Rails 1.2.
REST with Rails tutorial.
A brief introduction to jQuery and why you can't use it in Rails (although attempts are being made to integrate it).
A Ruby Gem that works with Rails to take it one step further towards a complete site, design and all. In its own words: "Hobo is an Open Source extension to Ruby on Rails which helps you build full blown web applications incredibly quickly and easily".
A blog about what's new in edge rails.
Ruby on Rails and web development jobs around the world.
A freelancer with some useful advice about rails and freelancing.
Tips for freelancing, with a focus on Ruby on Rails.
How to use the linux ps command to determine the PID of a Webrick session in order to kill it. Not unique to Webrick, but a useful reminder of ps flags.
How to populate your development database from a fixture using rake.
Tutorial on Ruby on Rails Migrations, used to manage databases over time.
Information about Rails' ActionController class, with clear examples, e.g. how to render different things - actions, partials, templates, xml, file, text, inline template, JavaScriptGenerator page (rjs).
Basic Rails RJS tutorial.
A good introductory Ruby on Rails tutorial with example application.
Rails test helper methods for HTML validation.
A script to automatically create Ruby on Rails YAML fixture files from your existing development database.
Article about Ruby on Rails jobs resources and it's increasing popularity.
Comparison of a variety of different web servers for Ruby on Rails deployment.
How to paginate, sort and search a table with Ajax and Rails.
A ruby on rails cheat sheet.
Rails examples, how-to's and tools.
27 good rails resources, mainly articles.
How to translate your Ruby on Rails web application using gettext.
Introduction to test driven development, with an example in Ruby.
A rake that parses Ruby on Rails tests to generate a list of things that your code needs to do in order to pass the tests (taken from the test name of course). This page is part of a log about techy stuff from Ben Griffiths, of reevoo (a startup company t
How to do test driven development in Ruby on Rails.
A cheat sheet for the Ruby on Rail test assertions.
UK based Ruby on Rails web hosting.
UK based Ruby on Rails web hosting.
UK based Ruby on Rails web hosting.
Ruby on Rails web hosts, including information about geographical location.
A PHP framework inspired by Ruby on Rails.
Recommendations for Ruby on Rails hosting.
A list of web applications, services, resources, blogs or sites with a focus on next generation web (web 2.0), blogging, Ajax, Ruby, Rails and open source developments.
The Java programming language has had an unprecedented run of success for vendors, customers, and the industry at large. But no programming language is a perfect fit for every job. This article launches a new series by Bruce Tate that looks at ways oth...
Living life forward and understanding it backwards
Curt Hibbs demonstrates the use of Ajax within Ruby on Rails applications.
Curt Hibbs shows off Ruby on Rails by building a simple application that requires almost no Ruby experience.
Tags: (none)