charliepark + rails   176

A quick note on dependencies in Ruby on Rails projects
A counterargument to not reinventing the wheel. This notes that by minimizing dependencies, you have less to worry about when security problems arise or when gems break.
rails  ruby  minimalist 
january 2013 by charliepark
What's new in Active Record [Rails 4 Countdown to 2013] | The Remarkable Labs Blog
A few notable updates, like this one:
# find_or_create_by_
Rails 3: Team.find_or_create_by_name('Justice League')
Rails 4: Team.where(name: 'Justice League').first_or_create
rails  activerecord  rails4  rubyonrails 
december 2012 by charliepark
Rethinking caching in web apps — Martin Kleppmann’s blog
Note the first comment. I like him a lot: Couldn't it be even simpler? If we think of web apps as software that serves resources, then pre-computed caching those resources in whole is almost always the right answer. Our current architecture of request --> hit a database --> render with a layout --> response is nuts. The architecture should be much simpler: given a request, look up the response and serve it.

The response can be pre-computed in the vast majority of use cases, because as you mentioned, almost everything a web app does is deterministic. Meaning these computations should only be happening once and only once. A blog post only needs to be computed when an edit is made, or a new comment is added. A Twitter-style timeline only needs to be computed when someone a user follows posts a new entry. A profile page only needs to be computed when the owner updates it.
caching  scalability  nymsy  database  rails  rubyonrails 
october 2012 by charliepark
Why Rails and not Sinatra or Node.js? - Codefol.io
A really good overview of why to use Rails in lieu of Sinatra, even though Sinatra is a lot more straightforward.

Would be nice if there were a "secure" port of Sinatra that brings all of the security and optimizations in, but maintained the simplicity of Sinatra. Maybe that's what the custom Rails builds are for?
ruby  sinatra  rails  rubyonrails 
september 2012 by charliepark
DigitalOcean | Simple Cloud Hosting, VPS Server, Virtual Private Servers
Re: the VPS. It was . I'd stuck it on my @Pinboard account a few days back. Merrp.
vps  hosting  rails 
august 2012 by charliepark
Beautiful Buttons for Twitter Bootstrappers
A thing I made: Beautiful Buttons for Twitter Bootstrappers Would love HN upvotes, if you can:
twitterbootstrap  css3  tool  custom  button  monotask  bootstrap  awesome  rails  web  webdevelopment  webdesign  from twitter
february 2012 by charliepark
Heroku | Dev Center | Memcache
How to set up Dalli to run memcached on Sinatra.
memcached  dalli  sinatra  rails  rubyonrails  gems 
july 2011 by charliepark
moocode - cloud infrastructure and services
An overview of deploying Rails 3.1. Covers asset handling and precompiling.
deployment  rails  javascript  css  assets 
may 2011 by charliepark
RubyGems 1.5
The page that explains the broken Rubygems.
rubygems  rails  rubyonrails  from delicious
may 2011 by charliepark
undefined local variable or method `version_requirements’ for # (NameError) | Chris Oliver
If I ever have to restart WalletGarden, I'll need to revert RubyGems back to 1.4.2 or add this code in to envoronment.rb.
rubygems  rails  rubyonrails  broken  from delicious
may 2011 by charliepark
Add new resource with ajax
Extends Railscasts 258 by adding a new resource, on top of an auto-complete AJAX list.
rails  rubyonrails  rails3  ajax  from delicious
april 2011 by charliepark
Seth Ladd's Blog: Ruby, Rails, OpenID, and Google Integration for the Busy Developer
Step by step guide to setting up a Rails 3 app with Google Account integration.
ruby  rails  openid  google 
october 2010 by charliepark
Vanity
An "Experiment Driven Development" framework for Rails. A/B testing within Rails.
rails  rubyonrails  ab_testing  testing 
november 2009 by charliepark
jordanbrock.com » Getting Rails, Git and Capistrano to work on a Joyent Accelerator
A good overview on getting Rails and whatnot deployed. Not *exactly* right for my usecase, but good enough to come back to later on as a reference.
rails  git  capistrano  deployment 
october 2009 by charliepark
Tomash corner / Rails Tricks, part 1: Searchlogic
Next time I need a search form in an app, I'll need to revisit this post.
searchlogic  search  rails  rubyonrails 
october 2009 by charliepark
Rails authenticity token with jQuery – The Pug Automatic
Don't need this at the moment, but I imagine I'll need this technique immediately after I forget where I saw it.
rails  jquery  rubyonrails  authenicity_token 
september 2009 by charliepark
Using Wordpress and Rails on the Same Domain: MicroISV on a Shoestring
Good tutorial on how to set up a blog on a domain that's already hosting a Rails app.
wordpress  rails  rubyonrails 
september 2009 by charliepark
Working outside-in with Cucumber (video + slides)
This looks like a really good, beginner-friendly introduction to Cucumber. I'd love to be better at this stuff.
cucumber  testing  BDD  TDD  rails 
july 2009 by charliepark
TwitterAuth: For Near-Instant Twitter Apps - Intridea Development Blog
A gem allowing near-instant Twitter-based authentication for barnacle apps and the like.
rails  twitter 
march 2009 by charliepark
Plaxo » A Recipe for OpenID-Enabling Your Site
A walk-through of how to implement OpenID on a web application.
openid  authentication  rails  rubyonrails 
january 2009 by charliepark
Rails performance tip - using YSlow
A good overview of ways to incorporate YSlow tips with a Rails app.
performance  rails  yslow 
january 2009 by charliepark
Using Gmail SMTP with ActionMailer
If you're reading this on my blog, you'll probably want to skip this one.

An overview of using Gmail's SMTP service with a Rails app. Useful as we get M configured at SliceHost.
gmail  rails  smtp 
january 2009 by charliepark
gist: 33337 — GitHub
Peter Cooper's "Super Daring App Template" (v 1.0).
rails  template 
december 2008 by charliepark
Rails, Ajax and jQuery at code tunes
A post on incorporating jQuery with Rails, but without using jRuby.
rails  rubyonrails  jquery  javascript  ajax 
december 2008 by charliepark
Jason J. Tennier, Super Genius: Removing Local Gems in Mac OS X
A blog post about where to find local gems in OSX. I'm still having trouble removing a couple of pre-1.0 gem releases, and that's messing up the rest of everything. Bah.
rails  rubyonrails  gems  apple  mac  osx 
december 2008 by charliepark
matthooks's authlogic-activation-tutorial at master — GitHub
A tutorial for setting up authlogic using e-mail and OpenID and some other goodies. Uses Git as the hosting of the tutorial, which is kind of neat.
rails  authentication  authlogic  tutorial  rubyonrails 
december 2008 by charliepark
has_many :bugs, :through => :rails: Rails templates
I am *SO* excited about Rails templates. Good Lord, this will make things easier.
rails  rubyonrails  templates 
december 2008 by charliepark
Pony - simple e-mail in Ruby apps
This looks cool. A simple way to send e-mail. I'll probably still have no idea what to do with it.

Pony.mail(:to => 'you@example.com', :from => 'me@example.com', :subject => 'hi', :body => 'Hello there.')
rails  ruby  rubyonrails  e-mail 
november 2008 by charliepark
Forcing Users To Log In (Ruby on Rails) | Building Browsergames
Setting up a simple admin controller to restrict access.

class AdminController < ApplicationController
def index
end

private

# By adding a function named "authorized?" and performing a test in it
# we use one of the hooks provided by restful_authentication.
def authorized?
current_user.login == "Admin"
end
end
ihavenoideawhatiamdoing  rails  ruby  rubyonrails 
october 2008 by charliepark
JulioCapote - Highlight link based on current page in rails
An easy way to change the style of the current (active) page. Like ... making the current page bold in the navigation list.
rails  rubyonrails 
september 2008 by charliepark
Rail Spikes: Is your Rails application safe?
You'd hope any dangerous security flaws would be covered by core. Nevertheless ... something to check out.
rubyonrails  rails  security 
september 2008 by charliepark
Obie Fernandez - Do the Hustle
Obie Fernandez on the feed and care of a Rails startup.
rails  business  rubyonrails  workshop  screencast  tutorial 
september 2008 by charliepark
Lightning Talk: God Monitoring Tool
PJ Davis at the 2008 Ruby Hoedown, giving a talk on God as a monitoring tool for your servers.
ihavenoideawhatiamdoing  rails  rubyonrails  god  monitoring  workshop  tutorial  screencast 
september 2008 by charliepark
$ cheat git
A quick writeup with the various commands for Git.
git  rails  rubyonrails  cheatsheet 
september 2008 by charliepark
Automatic input focus | Lambda @ Copa
Using jQuery to focus on the first input. Should implement in PearBudget to focus on the Date field (or would that auto-select the calendar?).
webdevelopment  ajax  js  javascript  rails  rubyonrails 
september 2008 by charliepark
« earlier      
per page:    204080120160

related tags

abstraction  ab_testing  actionmailer  activemerchant  activerecord  agile  ajax  amazon  analytics  announcers  apache  api  app  apple  article  articles  assets  asset_pipeline  authenicity_token  authentication  authlogic  autocomplete  awesome  backup  basics  BDD  beginnger  berkeley  billing  blog  bootstrap  broken  business  button  cache  caching  calendar  capistrano  charts  cheatsheet  chronic  college  computerscience  conflict  cookies  cork'd  course  creditcards  cron  cronjob  css  css3  CSV  cucumber  custom  dalli  danbenjamin  data  database  datetime  deployment  development  dhh  documentation  dothis  down  draganddrop  dreamhost  dynamic  e-mail  encrypt  encryption  eucalyptus  excel  forms  forum  for_wednesday  free  gem  gems  gettext  git  globalization  gmail  god  google  graphs  helpers  hosting  howto  html  i18n  ide  ifttt-reading-front-end  ihavenoideawhatiamdoing  importing  install  introduction  iphone  javascript  jquery  jquery-ui  js  json  l10n  linkpoint  linux  lion  logs  mac  machine  maintenance  mavericks  mediatemple  memcached  methods  migration  migrations  minimalist  minitest  ml  money  monitoring  monotask  mysql  nymsy  oauth  omniauth  openid  optimization  osx  password  payments  paypal  pdf  pearbudget  performance  phusionpassenger  plugin  plugins  podcast  postgresql  programming  rails  rails3  rails4  readlater  refactoring  reference  rjs  rss  ruby  rubygems  rubyonrails  rvm  saas  scaffold  scalability  scaling  screencast  search  searchlogic  secure  security  session  sessions  signup  sinatra  sms  smtp  sortable  sorting  sql  sqlite  stripe  svn  table  tables  tagging  tags  TDD  template  templates  testing  textmate  time  todo  tool  tutorial  tutorials  twitter  twitterbootstrap  Ubuntu  ui  university  unix  video  vps  web  web2.0  webapps  webdesign  webdev  webdevelopment  windows  wordpress  workshop  xhtml  yslow 

Copy this bookmark:



description:


tags: