infovore + rubyonrails   132

UNION with Active Record - The Pug Automatic
Turns out I really shouldn't have been messing with ARel: this seems more sane.
union  postgresql  sql  activerecord  ruby  rubyonrails 
february 2016 by infovore
Administrate (documentation)
Thoughtbot's engine for Rails admin UIs, sans-DSLs. Filed away for reference.
rails  ruby  rubyonrails  development  programming  thoughtbot  admin 
november 2015 by infovore
Speed up file downloads with Rails, Apache and X-Sendfile - makandra notes
Don't forget to enable XSendFile for the Vhost in question. Like I did, and wondered why 0b files were coming down all the time.
apache  xsendfile  rubyonrails  rails 
august 2011 by infovore
Jammit: Industrial Strength Asset Packaging for Rails
"Jammit is an industrial strength asset packaging library for Rails, providing both the CSS and JavaScript concatenation and compression that you'd expect, as well as YUI Compressor and Closure Compiler compatibility, ahead-of-time gzipping, built-in JavaScript template support, and optional Data-URI / MHTML image and font embedding." Looks good.
javascript  compression  performance  rubyonrails  assets 
november 2010 by infovore
Composite Primary Keys
Composite keys for Rails/ActiveRecord. Really does appear to work, too, which is nice.
activerecord  database  keys  composite  programming  rubyonrails  ruby 
july 2010 by infovore
Rails Dispatch | Presented by Engine Yard
Engine Yard have a new blog about Rails, consisting of screencasts and tutorials, and it looks good. One to subscribe to.
ruby  rails  rails3  rubyonrails  programming  engineyard 
may 2010 by infovore
litany against fear ¤ by nick quaranto ¤ The Rails Module (in Rails 3)
"Better alternatives [to the RAILS_ constants] have existed for a while in Rails core (some since 2.1.0), and it’s about damn time you start using them properly. There’s also some other helpful methods on the Rails module we’ll explore in this post." That was handy.
rails  rubyonrails  rails3  programming  development  tips 
february 2010 by infovore
elevation's event_calendar at master - GitHub
"Easily show multiple, overlapping events across calendar days and rows." Which is hard, and it is nice to know someone else has done the work.
rails  plugin  rubyonrails  development  ui  calendar 
november 2009 by infovore
Katz Got Your Tongue? » Rails and Merb Merge
"Today is a fairly momentous day in the history of Ruby web frameworks. You will probably find the news I’m about to share with you fairly shocking, but I will attempt to explain the situation." Yehuda Katz weighs in with a great, informative post.
programming  development  ruby  rails  rubyonrails  web  software  merb 
december 2008 by infovore
Rails Metal: a micro-framework with the power of Rails: \m/
"Rails Metal is a thin wrapper around Rails’ new Rack middleware support." Which means you can process requests outside of ActionPack, which is useful for the odd performance boost in certain places. Interesting to see concerns separating out within Rails like this.
programming  rails  rubyonrails  ruby  rack  middleware 
december 2008 by infovore
GIANT ROBOTS SMASHING INTO OTHER GIANT ROBOTS
"The tests are the program. Without the tests, the program does not work. Tests are not something that should be left for the inexperienced; tests are the hard part."
programming  development  ruby  rails  rubyonrails  testing  thoughtbot 
october 2008 by infovore
Cody Fauser - Rails HTTP Status Code to Symbol Mapping
"Recently I had been wondering what the complete list of HTTP status code symbols was in Rails. Searching through Rails didn't yield any results for a symbol like :unprocessable_entity... Rails defines the symbol to status code mapping dynamically from the status message. The symbol used is an underscored version of the status message with no spaces." Quick list of clear textual shorthand for returning HTTP status.
rails  rubyonrails  http  statuscode  status  reference 
september 2008 by infovore
Unobtrusive jQuery + Rails | Lambda @ Copa
Getting around the issues with Rails' authenticity tokens and trying to perform Ajax requests in jQuery.
rubyonrails  development  programming  javascript  jquery 
september 2008 by infovore
Simplify ActiveRecord Aggregates And Other Goodies Via named_scope : Locomotivation
"With a recent project, we really started utilizing extensions with named_scope which is very powerful and cleaned up our code considerably." Some really nice examples of using named_scope effectively.
named_scope  ruby  rails  rubyonrails  development  programming  tips 
august 2008 by infovore
Doug McInnes :: Craken
"This [plugin] is called Craken. In a nutshell it manages and installs rake-centric cron jobs. Coupled with Capistrano goodness it is the answer to your recurring task needs in Rails."
rake  ruby  rubyonrails  plugin  cron  automation 
august 2008 by infovore
Tableless models in Rails » code tunes
"If you’re developing an application in Ruby on Rails framework, there are many situations when you should consider using tableless models." Stub out the table, and you get the benefits of validations and typed attributes. Nifty.
rails  rubyonrails  ruby  activerecord 
august 2008 by infovore
James on Software: Introducing ActivePresenter: The presenter library you already know.
"ActivePresenter works just like an ActiveRecord model, except that it works with multiple models at the same time. Let me show you." Ooh - a Presenter class that doesn't seem like too much effort. Duly noted.
rails  rubyonrails  presenter  pattern  module  plugin 
july 2008 by infovore
Waiting For a Factory Girl
Nice alternative to the somewhat clunky fixture_replacement - factories for generating fixtures for your tests and specs. Yummy!
testing  rspec  ruby  test  rubyonrails  tdd  bdd  testunit  factory  object  thoughtbot 
june 2008 by infovore
Widgetfinger - Simple Content Management for Simple Websites
"Widgetfinger lets your clients edit their websites without touching the code." Congrats to the Thoughbot team for getting this out there.
cms  hosted  simple  rubyonrails  thoughtbot 
may 2008 by infovore
RailRoad diagrams generator
"RailRoad is a class diagrams generator for Ruby on Rails applications." Much like MattB's original .dot generator, but perhaps a bit more advanced. Useful!
visualization  information  database  diagram  development  rubyonrails  ruby  rails 
may 2008 by infovore
ben.send :blog » Blog Archive » rspec plain text stories + webrat = chunky bacon!
"We can now deal with forms in the language of our stories, something that the customer understands and relates to." Webrat lets you navigate your Rails app through the DOM, rather than HTTP.
testing  rspec  stories  agile  rails  ruby  rubyonrails  webrat  storyrunner 
april 2008 by infovore
//dopefreshtightblog » masquerade - Rails-based OpenID Server
"masquerade - an OpenID server based on Ruby on Rails." Server, not client-library. Looks quite nifty, and well worth knowing this is out there.
openid  server  ruby  rails  rubyonrails  identity  development  programming 
april 2008 by infovore
FixtureReplacement
"FixtureReplacement is a Rails plugin that provides a simple way to quickly populate your test database with model objects without having to manage multiple, brittle fixture files." Looks very handy indeed.
rails  testing  database  fixtures  plugin  ruby  rubyonrails 
april 2008 by infovore
Ryan's Scraps: What's New in Edge Rails: Has Finder Functionality
"It looks like Nick Kallen’s wildly popular has_finder plugin will be making its way into Rails 2.x in the form of named_scope" This is excellent news.
rails  rubyonrails  features  finders  activerecord 
april 2008 by infovore
:: GIANT ROBOTS SMASHING INTO OTHER GIANT ROBOTS :: For attaching files, use Paperclip
"I went and wrote Paperclip on the plane to RailsConf last year. We’ve been using it here in various forms since and IMHO it’s *the* way to handle uploads, and finally decided that it should be released." Another handy Thoughtbot plugin.
thoughtbot  rails  rubyonrails  plugin  attachment  imagemagick  upload  fileupload  file 
march 2008 by infovore
RoundHaus
Hosted subversion and continuous integration specifically for Rails development. Looks interesting; reasonably competitive pricing.
rails  rubyonrails  subversion  hosting  testing  continuousintegration 
january 2008 by infovore
nick - HasFinder -- It's Now Easier than ever to create complex, re-usable SQL queries
How I've not seen has_finder before I don't know. Looks very handy, and nice and succinct, too.
rails  plugins  rubyonrails  activerecord  finder 
december 2007 by infovore
Declarative exception-handling in your controllers - Rails 2.0 a feature a day #2 - redemption in a blog
"...this feature is one of the few nicest features in Rails made by a contributor outside of the Rails core so I couldn’t resist mentioning it." More on #rescue_from, with some nice use cases.
rails  rubyonrails  ruby  exceptionhandling  exceptions 
december 2007 by infovore
almost effortless » Graceful 404s in Rails 2.0
An explanation of #rescue_from, which was added in Rails 2.0, and is a really rather lovely way of handling all kinds of custom exception and making them not suck.
rails  ruby  rubyonrails  routing  redirect 
december 2007 by infovore
evang.eli.st User stories with RSpec's Story Runner
"I'll show you an example of an integration test I wrote with Test::Unit a while back and then converted to use Story Runner earlier today." RSpec's Story Runner looks quite interesting.
rspec  ruby  testing  rails  rubyonrails  bdd 
december 2007 by infovore
RailsJitsu - Acts as Subscribeable Rails Plugin
Looks useful - a plugin to generate email updates about things within your domain model.
rails  rubyonrails  ruby  email  plugin  programming 
december 2007 by infovore
Juixe TechKnow » Top 11 Rails Plugins
"I [decided] to write a list of the top Ruby on Rails plugins that I have found useful." A decent-enough selection, with a few I hadn't seen before.
rails  rubyonrails  ruby  plugins  activerecord 
december 2007 by infovore
Named routes _path/_url helpers doesn't recognize option :anchor
Just ran into this myself this afternoon. Very annoying! Hope it's fixed soon.
rails  ruby  rubyonrails  bug  error  routing 
november 2007 by infovore
Environments and the Rails initialisation process
"Though most people understand that your environment files are the key to answering some of these problems, how to actually solve them is not well known. I’ll attempt to clarify what to use and when to use it."
rails  rubyonrails  ruby  environment  development 
november 2007 by infovore
Rails on the Run
"Ruby, Rails & Other Experimentations by Matt Aimonetti" Interesting looking rails-focused blog.
rubyonrails  ruby  rails  software  development  programming  blog 
october 2007 by infovore
Mailtrap
Mailtrap helps you test ActionMailer: "Yesterday I mocked up the simplest, dumbest, Ruby SMTP server you can imagine. It speaks just enough SMTP to allow ActionMailer to make a connection and send it a message."
rails  ruby  rubyonrails  mail  testing  smtp  email 
october 2007 by infovore
If you aren’t writing Matchers, you aren’t using RSpec » Grinding Rails
"The default RSpec syntax is good, but it can’t be everything to everyone. If you’re not writing matchers, you’re missing out on the full potential of RSpec."
rspec  bdd  rails  ruby  testing  rubyonrails 
october 2007 by infovore
RubyWorks overview - ThoughtWorks Studios
"This free, open source LAMP production stack for RedHat Enterprise Edition, CentOS, Debian, and Ubuntu will allow users to quickly put Rails applications on production servers."
ruby  rubyonrails  rails  thoughtworks  deployment  linux  server  package 
october 2007 by infovore
Pivotal Blabs : CUDdly Models
"Better Rails Code through ...ActiveRecords with no public methods that have side-effects--other than Create, Update, and Destroy (CUD)." Ooh. This could be exactly what I need. Certainly worth a closer look, anyhow.
activerecord  ruby  rails  rubyonrails  plugin 
october 2007 by infovore
Plugins - Textmate Footnotes - Agile Web Development
This plugin saves you time when moving between your browser and Textmate. It adds clickable links to the Rails backtrace when an error occurs, and clickable ‽footnotes‽ to the bottom of each page... [which] open the correct file in Textmate.
ruby  rails  rubyonrails  debugging  textmate  osx 
october 2007 by infovore
QuarkRuby: Ruby on Rails Security Guide
Long, detailed, useful reference guide to all the areas that you can tighten the security of your Ralis application.
security  rails  ruby  rubyonrails  programming  development 
october 2007 by infovore
:: GIANT ROBOTS SMASHING INTO OTHER GIANT ROBOTS :: Did you order the code red?!
"In discussion, we decided there is too much logic in the controller. We want to move the authorization into the correct place in our domain model. But where?"
rails  authentication  ruby  rubyonrails  mvc 
october 2007 by infovore
identity-matcher - Google Code
"This code, extracted from the Rails codebase of dopplr.com, extends your User model with methods to pull in social network information from sites such as GMail, Twitter, Flickr, Facebook and any site supporting appropriate Microformats."
rubyonrails  ruby  rails  plugin  microformats  network  identity 
october 2007 by infovore
Riding Rails: Rails 2.0: Preview Release
DHH fills us in on the changes in Rails 2.0. Given the preview release is out now, the full version can't be that far off. Big changes, too.
ruby  rubyonrails  rails 
october 2007 by infovore
Life on Rails » Ruby, rails and other technological travels
"I figured it’s best just to tell you why netbeans’ rails support is so creamingly good". I'm not really an IDE guy, but netbeans does sound quite impressive. Not sure it'll drag me away from Textmate, though.
netbeans  rails  rubyonrails  ruby  ide  development  editor 
september 2007 by infovore
Testing Controllers with rspec
Just what I needed right now. This is a verbose approach, but it has the kind of granularity I like.
testing  rspec  rails  rubyonrails  bdd  controller  mvc 
september 2007 by infovore
BlogFish: Webistrano - Capistrano deployment the easy way
Webistrano is a Web UI for managing Capistrano deployments. It lets you manage projects and their stages like test, production, and staging with different settings. Those stages can then be deployed with Capistrano through Webistrano.
capistrano  rails  deployment  rubyonrails  hosting  infrastructure 
september 2007 by infovore
Pivotal Blabs : Advanced Proxy Usage, Part I
Some good stuff on ActiveRecord proxy usage. I'm doing some of this already, but the advanced examples look really handy.
rails  proxy  activerecord  associations  rubyonrails  development 
august 2007 by infovore
sed, awk for rails devs
More sed & awk goodness from the caboo.se
sed  awk  rails  rubyonrails  tips  unix  shell 
july 2007 by infovore
Scott Becker - AssetPackager – JavaScript and CSS Asset Compression for Production Rails Apps
Oh gosh, this looks good: dynamic merging/caching of js/css files in Rails, but in production only; your development environment continues to use the original files. Lovely. Now: does it work?
rails  javascript  CSS  plugin  ruby  rubyonrails  optimisation  performance  development 
july 2007 by infovore
err.the_blog.find_by_title('I'm Paginating Again')
will_paginate gets a nice big 2.0 update, but alters the API. This needs looking into, really.
rails  pagination  rubyonrails  plugin 
may 2007 by infovore
Introducing the Shoulda Testing Plugin
The Thoughbot gang bring another testing solution to the Rails table.
ruby  rubyonrails  testing  pluging  mocking 
april 2007 by infovore
PragDave: The RADAR Architecture: RESTful Application, Dumb-Ass Recipient
"I think there's a lot of merit in following a CRUD-based model for interacting with your application's resources. I'm not convinced all the hassle of bending dumb browser interactions into a REST-based set of verbs..."
rest  rails  rubyonrails  programming  development  architecture 
march 2007 by infovore
Multi-select boxes in your rails view at Notes from a messy desk
"It seems like, in current Rails, there’s not a very helpful helper around to give you select boxes which allow multiple items to be selected. So I present you with one."
rails  rubyonrails  ruby  erb  interface  templating 
march 2007 by infovore
Faster Pagination in Rails - igvita.com
To go with paginating_find: a nice set of helpers for rendering the pagination links way faster. Again, will be trying this out soon.
ruby  rails  rubyonrails  pagination  templating 
march 2007 by infovore
Cardboard Rocket. Paginating Find.
Really lovely way of handling paginated searches in Rails - think I'm going to try this out on current project.
rails  ruby  rubyonrails  pagination  plugin  library 
march 2007 by infovore
Revolution On Rails: DB migrations with a twist
Using migrations on a large scale, with lots of advice for doing so, including numbering migrations with timestamps rather than sequential integers (to prevent clashes).
rails  rubyonrails  database  migrations  development 
march 2007 by infovore
Ryan's Scraps: What's New in Edge Rails: A Better Way to Organize Your Helpers
Sod the improvement, the original suggestion is something I'd never thought of. Bye bye, overcrowded application_helper.rb ...
rails  helpers  rubyonrails 
february 2007 by infovore
Web 2.0 Technologies: GeoKit: a plugin for location-based Rails apps
Geokit is a Rails plugin for building location-based apps. It provides geocoding, location finders, and distance calculation in one cohesive package.
ruby  rails  rubyonrails  maps  geo  geocoding  data  plugin 
february 2007 by infovore
Mocha Quickstart
A quick guide to getting started with Mocha - the Ruby library for mocking objects in tests.
mocha  testing  mock  rails  ruby  rubyonrails  tdd 
february 2007 by infovore
Mike Clark's Weblog - Attachment Fu
Mike Clark runs over the basics of RIck Olson's attachment_fu plugin. A nice abstraction - will come in handy, for sure.
rails  ruby  rubyonrails  image  upload  plugin  tutorial 
february 2007 by infovore
err.the_blog.find_by_title('I Will Paginate')
"Your views will paginate, the code says so". Better pagination for Rails, wrapped up as a plugin
rails  ruby  rubyonrails  pagination  programming  development  plugin 
february 2007 by infovore
Ryan's Scraps: Testing Rails Controllers with Nested Parameters
Because you’re passing in a mock representation of the real HTTP parameters, you don’t want to use the string versions of the parameters but actually set the parameter hash directly. Duh. So, when your controller is expecting a nested hash keyed off t
ruby  rails  rubyonrails  functional  testing  controller 
february 2007 by infovore
Obie Fernandez : Weblog : SEO Optimization of Rails URLs
Neat trick from Obie on mixing Rails primary keys with readable URLs.
ruby  rails  rubyonrails  routing  urls  seo 
february 2007 by infovore
SimpleLog. A simple (and free!) Ruby on Rails weblog application.
Simplelog hits 2.0 - nice going, Garrett. It's looking really polished, but resolutely maintaining its attitude of doing the bare minimum for a blog. In this day and age of spam and similar, that still means quite a bit - but it's a good philosophy.
rails  ruby  rubyonrails  cms  blog  simple  software  free 
february 2007 by infovore
I Don't Feel Like It, Why Don't You // RailsTips.org by John Nunemaker
The "delegate" method: "the User model says I don’t feel like dealing with the inbox method so why don’t you deal with it Action."
rubyonrails  rails  activerecord  tips  delegate 
january 2007 by infovore
Capistrano Concepts: PeepCode Screencasts for Ruby on Rails Developers
If this is as good as Geoffrey's other screencasts, it'll be very useful for me to crack my Capistrano-fear...
ruby  rubyonrails  rails  deployment  capistrano 
january 2007 by infovore
Displaying a content_for inplace
A nice trick for wrangling content_for, something I'm doing a lot of at work at the moment.
rails  tips  rubyonrails  templating  views  blocks 
december 2006 by infovore
RubyForge: Ruby on Rails Akismet Plugin: Project Info
Someone beat me to the punch - takes a different tack to my acts_as_akismet, but definitely worth a look.
antispam  akismet  rails  rubyonrails  plugin  spam  library 
november 2006 by infovore
Dirt simple .rcss templates
Dirt simple indeed. More importantly, it actually serves the CSS as text/css , which is usually the kicker for me.
css  rubyonrails  rails  erb  templating 
november 2006 by infovore
Re: Case statements and ERB
Jamis Buck explains how to use case statements in ERB. Useful, given I'd just assumed it wasn't possible.
ruby  rails  rubyonrails  erb 
november 2006 by infovore
« earlier      
per page:    204080120160

related tags

37signals  abstraction  activerecord  admin  administration  agile  ajax  akismet  analytics  antispam  apache  api  architecture  assets  associations  atom  attachment  authentication  automation  awk  basecamp  bdd  bestpractice  blocks  blog  bug  cache  caching  calendar  capistrano  cms  composite  compression  continuousintegration  controller  creditcard  cron  css  data  database  debugging  delegate  deployment  development  diagram  dom  ecommerce  editor  email  engine  engineyard  english  environment  erb  error  exceptionhandling  exceptions  factory  fastcgi  fcgi  features  file  fileupload  finder  finders  fixtures  frameworks  free  frontier  functional  geo  geocoding  guidelines  heatmaps  helpers  hosted  hosting  howto  html  http  ide  identity  image  imagemagick  information  infrastructure  interface  interview  javascript  jquery  keys  language  library  lighttpd  linux  lucene  mail  maps  merb  metaprogramming  microformats  middleware  migrations  mint  mocha  mock  mocking  module  mongrel  mvc  named_scope  netbeans  network  object  openid  optimisation  osx  package  pagination  pattern  patterns  payment  paypal  performance  plugin  pluging  plugins  postgresql  presenter  processing  programming  proxy  rack  rails  rails3  rake  redirect  refactoring  reference  rest  richtext  routing  rspec  rub  ruby  rubyonrails  scaling  scope  scoping  search  security  sed  seo  server  sessions  shell  simple  smtp  software  spam  sql  sqlite  statistics  stats  status  statuscode  stories  storyrunner  subversion  tagging  tags  tdd  template  templates  templating  test  testing  testunit  textdrive  textile  textmate  thoughtbot  thoughtworks  tip  tips  tracking  tutorial  ui  union  unix  upload  urls  usability  validation  versioncontrol  via:tomtaylor  views  visualization  w3c  web  webdev  webdevelopment  webrat  wysiwyg  xhtml  xml  xsendfile 

Copy this bookmark:



description:


tags: