Pages tagged rails:

Robby on Rails : Subdomain accounts with Ruby on Rails explained
http://www.robbyonrails.com/articles/2009/01/11/subdomain-accounts-with-ruby-on-rails-explained
How to do Basecamp-style subdomains in Rails - (37signals)
http://www.37signals.com/svn/posts/1512-how-to-do-basecamp-style-subdomains-in-rails

shae
Multi-staging environment for Rails using Capistrano and mod_rails / Rails - cjohansen.no
http://www.cjohansen.no/en/rails/multi_staging_environment_for_rails_using_capistrano_and_mod_rails
RailsEnv
jQuery on Rails: Why Bother? // RailsTips by John Nunemaker
http://railstips.org/2008/11/20/jquery-on-rails-why-bother
Jquery rails
iPhone on Rails and ObjectiveResource; Making communication between the iPhone and a Rails web-service pain-free.
http://iphoneonrails.com/
interessante per cirqu.it
ObjectiveResource is an Objective-C port of Ruby on Rails' ActiveResource. It provides a way to serialize objects to and from Rails' standard RESTful web-services (via XML or JSON) and handles much of the complexity involved with invoking web-services of any language from the iPhone.
ObjectiveResource is a framework for the iPhone that makes interacting with Ruby on Rails applications dead simple.
alter ego
http://alter-ego.rubyforge.org/
Sometimes you want a single object to behave differently depending on what state it’s in. For instance, a traffic light has a different color depending on whether it is informing people that they should stop, slow down, or proceed. Or a user account object might behave differently depending on whether the account is in the “confirmed” state. AlterEgo can help you set up these state-based object “personalities”. AlterEgo will help you to define a set of valid states for your objects, and to define the allowable transitions between states. The real strength of AlterEgo, however, is in defining separate behaviors for each state that the object is in. Underneath the covers, AlterEgo will arrange for your object to delegate to a different state object depending on what state it is in. You can either explicitly define these state objects as classes, or use a concise DSL provided by AlterEgo.
A state machine plugin which allows each state to have different methods and behaviours.
AlterEgo is a Ruby implementation of the State pattern as described by the Gang of Four. It differs from other Ruby state machine libraries in that it focuses on providing polymorphic behavior based on object state.
AlterEgo is a Ruby implementation of the State pattern as described by the Gang of Four. It differs from other Ruby state machine libraries in that it focuses on providing polymorphic behavior based on object state. In effect, it makes it easy to give an object different “personalities” depending on the state it is in.
"AlterEgo is a Ruby implementation of the State pattern as described by the Gang of Four. It differs from other Ruby state machine libraries in that it focuses on providing polymorphic behavior based on object state. In effect, it makes it easy to give an object different “personalities” depending on the state it is in."
「クックパッド」の裏側にいってきた
http://www.sssg.org/blogs/naoya/archives/1126
「無言語化: 機能を言葉で説明しない」これ、素敵
事例
* 質を高める ユーザに狙った価値を提供できているのかテストするためのもの ユーザテストのときには質問には答えない、質問が出るインターフェースは失敗 顔マーケティング ライバルに勝てる「ウリ」
isitruby19.com • Community-powered gem compatibility for ruby 1.9
http://isitruby19.com/
great way to determine gem compatibility
“The Ruby community needs your help. Install Ruby 1.9.1 then try out your favourite gems and provide feedback here”
Is it Ruby 1.9? Listing Ruby Gems and showing their Ruby 1.9 compatibility
RailsLab .:. Scaling Rails - Scaling Rails Screencasts
http://railslab.newrelic.com/scaling-rails
Learn everything you need to know about Scaling your Rails app through 13 informative Screencasts produced by Gregg Pollack with the support of New Relic.
Nice Screencasts series of performance and scalability of Rails Apps by Gregg Pollack
Scaling Rails screencasts produced by Gregg Pollack and supported by New Relic
Translate: New Rails I18n Plugin with a Nice Web UI - Newsdesk developer blog
http://developer.newsdesk.se/2009/01/21/translate-new-rails-i18n-plugin-with-a-nice-web-ui/
save
23 Amazing And Open Source Ruby On Rails Applications
http://www.webresourcesdepot.com/23-amazing-and-open-source-ruby-on-rails-applications/
Ruby on Rails is a powerful web framework that helps creating web applications easier, faster & writing an organized code. There are lots of websites that use it including popular ones like Twitter, Basecamp, AboutUs & many more. Also, Ruby on Rails powers some amazing open source web applications which you may want to use directly or improve further. Here is a well-categorized 23 open source Ruby on Rails applications
Creating PDF Documents in Ruby on Rails | Ruby on Rails
http://jimneath.org/2009/02/16/creating-pdf-documents-in-ruby-on-rails/
Priit Haamer > Blog > Ruby dictionary for Mac OS X
http://www.priithaamer.com/blog/ruby-dictionary-for-mac-os-x
"install extra dictionary into Mac OS X Dictionary.app with Ruby documentation and get system-wide access to API docs"
Rubyctionary
This is a pretty neat way to peruse the Ruby API, as a custom OS X dictionary.
JavaScript dependency management and concatenation: Sprockets
http://getsprockets.org/
なるほど便利そうだ
Sprockets is a Ruby library that preprocesses and concatenates JavaScript source files.
"Serve lots of little JavaScripts as a single file."
Dead simple task scheduling in Rails - Intridea Company Blog
http://intridea.com/2009/2/13/dead-simple-task-scheduling-in-rails?blog=company
Rufus scheduler
Ruby on Rails 2.3 Release Notes
http://guides.rubyonrails.org/2_3_release_notes.html
session
Rails 2.3 delivers a variety of new and improved features, including pervasive Rack integration, refreshed support for Rails Engines, nested transactions for Active Record, dynamic and default scopes, unified rendering, more efficient routing, application templates, and quiet backtraces. This list covers the major upgrades, but doesn’t include every little bug fix and change. If you want to see everything, check out the list of commits in the main Rails repository on GitHub or review the CHANGELOG files for the individual Rails components.
Fear of Fish - Building a Gem Using BDD
http://www.jamievandyke.com/blog/2009/01/09/building-a-gem-using-bdd.html
save
Elad on Rails: Rails and Amazon EC2 - Beginners guide
http://blog.eizesus.com/2009/01/rails-and-amazon-ec2-beginners-guide.html
art up an instance of the 32-bit EC2onRails image:
"First of all, Amazon AWS rocks. it's a great, stable and not so expensive way to get your application up and running, but also ready for any disaster to come (Someone said Digg effect?). Getting your application on to Amazon EC2 is not as complicated as you think, managing and controlling your instances may require a professional system administrator, but i would recommend that anyway (except if you go and host your application on EngineYard than you are worry-free, but you'll pay.. ohh you'll pay for that sense of security)."
Ryan's Scraps: What's New in Edge Rails: Nested Object Forms
http://ryandaigle.com/articles/2009/2/1/what-s-new-in-edge-rails-nested-attributes
We were all teased a few months ago about the possibility of finally solving the nested model/complex forms problem in Rails, but were then cruelly notified that it wasn’t quite ready for prime time. But our day has come – the most requested feature for Rails 2.3, the ability to handle multiple models in a single form, is here.
Scheduled for Rails 2.3
Rails Lab .:. Expert advice on tuning and optimizing your Rails app
http://railslab.newrelic.com/
Rails Performance Resources - Expert advice on tuning and optimizing your Rails app.
has_many :bugs, :through => :rails: Thread safety for your Rails
http://m.onkey.org/2008/10/23/thread-safety-for-your-rails
Long story short, Rails can now serve multiple requests in more than one ruby threads ( or native threads if you’re on JRuby ) parallelly. Charles Nutter has done a good job of explaining the details here. Should you give a flying fuck ? You totally should if : * You’re using JRuby * You’re bold enough to play around with bleeding edge Neverblock stuff * Your application has a lot of long running processes, which are not heavy on blocking IO ( this would be rare I imagine ) You totally should NOT if : * You’re using Event based mongrel, thin or any of the event based web server in production. Event based servers don’t use Threads, so it just doesn’t matter. * You CBA You may have heard a bunch of hype about how threads make everything 100x faster, this is far from the truth. Don’t believe everything the hype merchants want to sell you, test your application first and see if it helps.
Building and Scaling a Startup on Rails: 12 Things We Learned the Hard Way - Axon Flux - A Ruby on Rails Blog
http://axonflux.com/building-and-scaling-a-startup
primer on ruby
The Rails Way: File Downloads Done Right
http://www.therailsway.com/2009/2/22/file-downloads-done-right
I thought x-sendfile was a default setting, might have to look into this.
acts_as_ferric : Caching with Ruby on Rails
http://ferric.net/articles/2009/02/22/caching-with-ruby-on-rails/
Google Data on Rails - Google Data APIs - Google Code
http://code.google.com/apis/gdata/articles/gdata_on_rails.html
This article is intended for developers interested in accessing the Google Data APIs using Ruby, specifically Ruby on Rails. It assumes the reader has some familiarity with the Ruby programming language and the Rails web-development framework. I focus on the Documents List API for most of the samples, but the same concepts can be applied to any of the Data APIs.
crafterm's sprinkle at master — GitHub
http://github.com/crafterm/sprinkle/tree/master
prinkle is a software provisioning tool you can use to build remote servers with, after the base operating system has been installed. For example, to install a Rails or Merb stack on a brand new slice directly after its been created. Properties of packages such as their name, type, dependencies, etc, and what packages apply to what machines is described via a domain specific language that Sprinkle executes.
Sprinkle is a software provisioning tool you can use to build remote servers with. eg. to install a Rails or Merb stack on a brand new slice directly after its been created
Ruby provisioning tool for automating builds and deployments
Sprinkle is a software provisioning tool you can use to build remote servers with, after the base operating system has been installed. For example, to install a Rails or Merb stack on a brand new slice directly after its been created. Properties of packages such as their name, type, dependencies, etc, and what packages apply to what machines is described via a domain specific language that Sprinkle executes (in fact one of the aims of Sprinkle is to define as concisely as possible a language for installing software).
ASCIIcasts - Recent Episodes
http://www.asciicasts.com/
A variety of short articles about Ruby and Rails based on Ryan Bates’ Railcasts.
I really like Ryan Bates’s Railscasts, but videos aren’t the easiest thing to search through when you’re trying to search for a single tip or line of Ruby code to add to your own site. ASCIIcasts are text versions of each Railscast, each with a link to the original video. I hope you find them useful. You can keep up to date with new episodes on Twitter.
ASCIIcasts
10 Useful Tips For Ruby On Rails Developers | How-To | Smashing Magazine
http://www.smashingmagazine.com/2009/02/25/ruby-on-rails-tips/
JavaScript makes relative times compatible with caching - (37signals)
http://www.37signals.com/svn/posts/1557-javascript-makes-relative-times-compatible-with-caching
A pro-caching technique for presenting cachable relative times (e.g., "15 minutes ago")
I put together a new mini app for our new status site yesterday that needed exactly this technique. I wanted the content of the application to be entirely page cached, so it would withstand the onslaught if the terrible should happen and we need to redirect all trafic to the status site.
javan's whenever at master - GitHub
http://github.com/javan/whenever/tree/master
provides a really easy way to write tasks that must be done repeatedly or at a certain time in a simple Ruby DSL. It can even write out crontab files for you based on the commands and times that you give it.
How To Install A Ruby 1.8 Stack on Ubuntu 8.10 From Scratch
http://www.rubyinside.com/how-to-install-a-ruby-18-stack-on-ubuntu-810-from-scratch-1566.html
Install RubyGems (from source)
Ruby on Rails + MySQL で全文検索 - ドワンゴ 研究開発ブログ
http://info.dwango.co.jp/rd/2009/02/ruby-on-rails-mysql.html
よいまとめ
Nome do Jogo » Blog Archive » Shoulda for RSpec is Remarkable!
http://www.nomedojogo.com/2008/11/18/shoulda-for-rspec-is-remarkable/
converts shoulda macros to rspec
remarkable - gem with shoulda macros ported to rspec
nkallen's cache-money at master — GitHub
http://github.com/nkallen/cache-money/tree/master
Active record memory cache.
A Write-Through Cacheing Library for ActiveRecord
class Message < ActiveRecord::Base
InfoQ: Rockstar Memcaching
http://www.infoq.com/presentations/lutke-rockstar-memcaching
InfoQ: Rockstar Memcaching http://www.infoq.com/presentations/lutke-rockstar-memcaching performance presentation
About the conference RubyFringe is an avant-garde conference for developers that are excited about emerging Ruby projects and technologies. They're mounting a unique and eccentric gathering of the people and projects that are driving things forward in our community.
Memcached tutorial video from the RubyFringe conference.
Video of memcached best-practices
RubyFringe presentation on Memcached
tobias lutke rubyfringe talk about memcached
Sunlight Labs: Blog - Content Management Systems just don't work.
http://sunlightlabs.com/blog/2009/02/23/content-management-systems-just-dont-work/
The line between Content Management Systems and Application Frameworks is starting to blur and this is the core basis for this post. The comments are also great reading and provide a balanced argument for CMSs
Sunlight Labs Blog says that CMS's don't work because they contain too many 'opinions' that you won't agree with (to do with user interface and workflow) so you are better off using content frameworks.
Great observations on frameworks vs. CMSs.
good read
Kevin: Clay at Sunlight Labs talks about the issues he has with content management systems and argues that web frameworks like Django and Ruby on Rails are a better option. It's an interesting wrinkle on a common discussion in the industry, and it's worth the read.
blue state digital and information on community mailing tools
Spike
http://lucidmac.com/products/spike
Looks like a handy addition to the toolkit
"Rails log file viewer."
log analyzer app for rails logs
Spike is a log file viewing & (if we’re being generous) analysis tool for Rails developers.
Desktop app for the Mac that shows Rails log files.
Sanitize: A whitelist-based Ruby HTML sanitizer
http://wonko.com/post/sanitize
sanitize html strip remove tags
Ruby HTML sanitizer
nifty ruby sanitization library
gem layered on Hpricot
Freelancing Gods: Freelancing Tips via Rails Camp 4
http://freelancing-gods.com/posts/freelancing_tips_via_rails_camp_4
Ruby, Rails, Web2.0 » Blog Archive » Add a powerful AJAX Table to your Rails Application in 5 minutes
http://www.rubyrailways.com/add-a-powerful-ajax-table-to-your-rails-application-in-5-minutes/
Tabelle mit Ajax in Rails.
HTML Scraping with scRUBYt! for Fun and Profit
http://advent2008.hackruby.com/past/2008/12/23/html_scraping_with_scrubyt_for_fun_and_profit/
Wait
Navigation is fairly obvious I guess (the other actions besides fetch - which should be always present as the first step - are fill_textfield, fill_textarea, click_link, check_checkbox, check_radiobutton, select_option, submit and if you can’t submit the form automatically for some reason, click_by_xpath as the last resort.
Peter Szinek walks us through the process of scraping data from web sites with scRubyt!. Impress your friends (and even your mother!) this Christmas with your slick data mining skillz!
Rails Forms microformat « Trek
http://wonderfullyflawed.com/2009/02/17/rails-forms-microformat/
Trek Rails Forms microformat This article has been updated to reflect the latest patterns in Rails 2.3 edge (based mostly on this commit) If you’ve been relying on Rails form helpers to generate forms, then you may have missed the interesting little microformat used to pass application data to and fro. In case you didn’t know, form data is passed as part of the request body as a set of key/values pairs in plain text (if you’re using get as a method for a form, it’s that url section like this: ?name=widget12&price=22). The name attribute of the form inputs are the keys (here name and price), and the value is whatever the user entered or selected (widget12 and 22). Most languages/frameworks for the web will reconstitute these pairs as objects accessible to the programmer. For example <input name='widget_name' /> is accessed with $_POST["widget_name"] in php, self.request.get("widget_name") on App Engine, and params[:widget_name] in Rails. This format can only pass a single value f
One of the most comprehensive articles on rails forms. Includes the newly added nested attributes stuff.
Getting Started With Ruby On Rails | How-To | Smashing Magazine
http://www.smashingmagazine.com/2009/03/19/getting-started-with-ruby-on-rails/
saush.com » Blog Archive » Write an Internet search engine with 200 lines of Ruby code
http://blog.saush.com/2009/03/write-an-internet-search-engine-with-200-lines-of-ruby-code/
technology, people and life in general
How-To Setup a Linux Server for Ruby on Rails - with Phusion Passenger and GitHub - Hack'd
http://hackd.thrivesmarthq.com/how-to-setup-a-linux-server-for-ruby-on-rails-with-github-and-phusion-passenger
ssh_options[:compression] = false
ServerName slicename
Beginner's Guide To Ruby On Rails: Part 2 | How-To | Smashing Magazine
http://www.smashingmagazine.com/2009/03/27/ultimate-beginners-guide-to-ruby-on-rails/
smashingmagazine.com: beginner guide 2
state_machine: One machine to rule them all? | PluginAWeek
http://www.pluginaweek.org/2009/03/08/state_machine-one-machine-to-rule-them-all/
After 2 1/2 years of blood, sweat, tears, and the occasional Jägermeister, I'm finally officially announcing a project I've been quietly working on:
state_machine: One machine to rule them all? | PluginAWeek
After 2 1/2 years of blood, sweat, tears, and the occasional Jägermeister, I’m finally officially announcing a project I’ve been quietly working on: state_machine.
Rails Searchable API Doc
http://railsapi.com/
Woot! Finally a neat and nice rails rdoc!
API Documentation Search facility for Ruby On Rails
2009 Rubyist's guide to a Mac OS X development environment — GIANT ROBOTS SMASHING INTO OTHER GIANT ROBOTS
http://giantrobots.thoughtbot.com/2009/3/30/2009-rubyist-guide-mac-os-x-development-environment
A command line-ish dev environment...
Create a Rails Template and Build an App in Seconds
http://www.youvegotrails.com/
Create a Rails Template and Build an App in Seconds
instant rails
templates for rails applications
Twitter on Scala
http://www.artima.com/scalazine/articles/twitter_on_scala.html
g system, mobile platform, or web platform. Basically, if you want to share a short thought, one to many, Twitter is a transport-independent way to do that. In a broader technical sense, we see ourselves as a short messaging layer for the internet. We’ve been described as a “telegraph for web 2.0.” One of the things that’s core to our business is providing open APIs for everything you can do on the website. So all the functionality that’s available there for users is also available for developers to access programmatically. That’s Twitter in a nutshell. Twitter started as a hack project at a company called ODEO, which was focused on podcasting. As ODEO was having some troubles in its latter days as a company, they started experimenting, to keep engineers involved by letting them play around with ideas they had on the side. One of the engineers, Jack Dorsey, had been really interested in status. He was looking at his AIM buddy list, and seeing that all of these guys were saying, “I’m w
How twitter uses scala to gain performance and stability
tags: scala twitter ruby programming scalability interview rails
"Steve Jenson: For example, if you make a change to your social graph; i.e., you follow or unfollow someone on Twitter. All of that work and the associated cache invalidations are done asynchronously by a daemon."
Three Twitter developers, Steve Jenson, Alex Payne, and Robey Pointer, talk with Bill Venners about their use of Scala in production at Twitter.
Unlimited Novelty: Twitter: blaming Ruby for their mistakes?
http://unlimitednovelty.com/2009/04/twitter-blaming-ruby-for-their-mistakes.html
Unlimited Novelty
How many of Twitters issues caused by succumbing to NIH (Not Invented Here)
In-depth discussion of message queuing systems and systems architecture, with Twitter representatives speaking up in the comments thread.
Long, but very interesting analysis of ruby, message queue systems, and Twitter's use thereof
twitter and ruby
http://www.tervela.com/tmx
TwitterAuth: For Near-Instant Twitter Apps - Intridea Development Blog
http://intridea.com/2009/3/23/twitter-auth-for-near-instant-twitter-apps
Neat gem that uses Twitter as the login authentication for your app. Interesting idea and makes it one less thing to worry about when building a secured app.
TwitterAuth is a Rails plugin that provides a full external authentication stack for Rails applications utilizing Twitter.
ChadFowler.com 20 Rails Development No-No's
http://www.chadfowler.com/2009/4/1/20-rails-development-no-no-s
JRuby on Rails on Google App Engine | Ola Bini: Programming Language Synchronicity
http://olabini.com/blog/2009/04/jruby-on-rails-on-google-app-engine/
In this post I thought I’d go through the steps you need to take to get a JRuby on Rails application working on GAE/J, and also what kind of characteristics you should expect from your application.
JRuby on RailsをApp Engine上で動かす方法
32 Rack Resources to Get You Started | Jason Seifer
http://jasonseifer.com/2009/04/08/32-rack-resources-to-get-you-started
Shared with shareomatic.com
Robby on Rails : 20 articles on Cucumber and a free beverage recipe!
http://www.robbyonrails.com/articles/2009/04/09/20-articles-on-cucumber-and-a-free-beverage-recipe
lets software development teams describe how software should behave in plain text. The text is written in a business-readable domain-specific language and serves as documentation, automated tests and development-aid – all rolled into one format.
Robby on Rails : 20 articles on Cucumber and a free beverage recipe!
RabbitMQ - A Fast, Reliable Queuing Option for Rubyists
http://www.rubyinside.com/rabbitmq-a-fast-reliable-queuing-option-for-rubyists-1681.html
When it comes to developing large systems with many interdependent parts, it’s common nowadays to use “queues.”
Runs as a daemon to link separate apps via a queue. Article includes suggested links.
Rails Template: Create a Twitter Application in Seconds - Intridea Company Blog
http://intridea.com/2009/4/3/rails-template-create-a-twitter-application-in-seconds?blog=company
u quickly build a TwitterAuth app for depl
Twitter Demo App
Heroku Garden
http://herokugarden.com/
A web-based code editor integrated with a Ruby on Rails hosting platform – perfect for learning.
A quick, easy way to learn Ruby on Rails. Interesting interface design, as well.
Heroku Garden provides a web-based code editor integrated with a Rails hosting platform – perfect for learning.
Ruby on Rails Documentation
http://voloko.ru/sdoc/rails/rdoc/
When GitHub goes down... — ones zeros majors and minors
http://ozmm.org/posts/when_github_goes_down.html
How to recover your project if git hub goes down.
Thanks! I am going to cancel my github account so this will be useful
git instaweb --httpd=webrick FTW.
Video Tutorials - Technology Demonstrations - tekniqal.com
http://www.tekniqal.com/
Vídeo Tutoriais com o básico de Ruby
[...]Tekniqal.com offre 17 screencast base su Ruby, roba semplice ma comunque utile per chi vuole iniziare ad usarlo. [...] via http://www.extendi.it/ruby-on-rails
RestfulX Framework
http://restfulx.github.com/
framework restfull para desarrollar aplicaciones flex
RESTful Flex Development
50+ Ruby-related Blogs to Read | RubyLearning Blog
http://rubylearning.com/blog/2009/03/12/50-ruby-related-blogs-to-read/
RubyLearning Blog
Phusion’s One Year Anniversary Gift: Phusion Passenger 2.2.0 « Phusion Corporate Blog
http://blog.phusion.nl/2009/04/16/phusions-one-year-anniversary-gift-phusion-passenger-220/
Phusion Passenger now supports nginx - which is absolutely cool.
ReinH — A Git Workflow for Agile Teams
http://reinh.com/blog/2009/03/02/a-git-workflow-for-agile-teams.html
At Hashrocket we use git both internally and in our Agile mentoring and training. Git gives us the flexibility to design a version control workflow that meets the needs of either a fully Agile team or a team that is transitioning towards an Agile process.
git config alias.datetag '!git tag `date "+%Y%m%d%H%M"`'
Dr Nic’s Testing outbound emails with Cucumber
http://drnicwilliams.com/2009/03/26/testing-outbound-emails-with-cucumber/
Testing emails con cucumber. Testing all fuc*** time :-)
Nice article from Dr Nic on testing outbound email using cucumber and email-spec. I've tried it and it works like a treat.
ActiveRecord Optimization with Scrooge - igvita.com
http://www.igvita.com/2009/02/27/activerecord-optimization-with-scrooge/
Plugin that monitors the fields you're actually using from queries you make and over time dynamically adjusts your queries to retrieve only the fields you need. Apparently includes some magic to go re-query for more fields if you attempt to use one you hadn't loaded in the trimmed query. Amazing-looking stuff, though since we're currently using a DB on the same machine, transferring lots of extra data isn't nearly as expensive.
Dynamic query optimization is a hotbed of research in the database industry. Each and every query you execute goes through a rigorous optimization phase which tries to squeeze every last bit of performance: deciding which indexes to use, the execution order and sort order to minimize the number in-memory tables, etc. However, one thing the database has no access to is the application layer knowledge of which data the user is actually using after it is retrieved. Often times, the query fetches all of the columns when only a few are required, which is exactly the pattern that Lourens Naudé is seeking to optimize with his new plugin: scrooge.
Dynamic Query Optimization
Rails Boost: Rails Template Generator
http://www.railsboost.com/
Quickly and easily generate Rails 2.3 templates to get your app up, fucking fast.
This is a neat service centered around the new rails template feature.
Generate a "one-liner" that will build and configure a boot strapped Rails app! Requires Rails 2.3+
Ruby on Rails for Designers - Nettuts+
http://net.tutsplus.com/tutorials/ruby/ruby-on-rails-for-designers/
uby on Rails is an open-source web framework that's optimized for programmer happiness and sustainable productivity. It lets you write beautiful code by favoring convention over configuration. This is the way Ruby on Rails promotes itself - but in my words, it is an incredible framework that can really make your life much easier. You can learn more at their site http://rubyonrails.org PG Author: Alex Coomans This is a NETTUTS contributor who has published 1 tutorial(s) so far here. Their bio is coming soon! Step 1- Installing Ruby on Rails Installing Ruby on Rails (also often shortened to RoR) is fairly painless on most systems, but you will need to be comfortable opening up the terminal. The Ruby on Rails download page provides links to get started, and I will reproduce them here to save you a bit of time. Just as a note, these are the places to get Ruby, which is what Rails is programmed in, and we will be installing Rails in a minute. To learn more about the language, review the
gem -v
Ruby on Rails for Designers - Nettuts+
distributed systems primer :: snax
http://blog.evanweaver.com/articles/2009/05/04/distributed-systems-primer/
I've been reading a bunch of papers about distributed systems recently, in order to help systematize for myself the thing that we built over the last year. Many of them were originally passed to me by Toby DiPasquale. Here is an annotated list so everyone can benefit. It helps if you have some algorithms literacy, or have built a system at scale, but don't let that stop you.
Ruby Proxies for Scale and Monitoring - igvita.com
http://www.igvita.com/2009/04/20/ruby-proxies-for-scale-and-monitoring/
Including transparent sending of production traffic to staging.
Maybe for Omniture testing?
Lift the curtain behind any modern web application and you will find at least a few proxy servers orchestrating the show. Caching proxies such as Varnish and Squid help us take the load of our application servers; reverse proxies such as Haproxy and Nginx help us partition and distribute the workload to multiple workers, all without revealing the underlying architecture to the user. In the Ruby world, Rack middleware and Rails Metal are sister concepts: both allow the programmer to inject functionality in the pre or post-processing step of the HTTP request.
Three clusters Production (Huge!!) Staging (one) Benchmarking (same as staging)
Four Ways Ruby on Rails Can Help You
http://sixrevisions.com/web-development/four-ways-ruby-on-rails-can-help-you/
I should just learn this and Django rather than bothering to waste my time with PHP and other rudamentary languages that these systems make obsolete.
Okay, yes, but these are not aspects of Rails per se. Rather these are qualities of well-designed, well-factored architecture. Which is still a compliment to Rails, but not exclusive to it!
Ruby on Rails, an open source web development framework, has revolutionized the way we create web applications. In this article, we discuss some of the ways Ruby on Rails can help you in rapidly building fully-featured web-based applications.
Journal: VPS Comparison between Slicehost and Prgmr
http://journal.uggedal.com/vps-comparison-between-slicehost-and-prgmr
Two weeks ago I came across a mention of another Xen based VPS provider called Prgmr. What intrigued me was that I could get a 1GB instance for the $20/month I was paying Slicehost for a 256MB slice. 4 times the memory, more than double disk capacity, and 60% more bandwidth. Was this too good to be true?
Rail Spikes: 10 Cool Things in Rails 2.3
http://railspikes.com/2009/3/30/10-cool-things-in-rails-23
Nodeta » Blog Archive » Stopping your Rails application with Phusion Passenger
http://blog.nodeta.fi/2009/03/11/stopping-your-rails-application-with-phusion-passenger/
Tips on displaying a downtime message during system maintenance
Ruby on Rails Security Project - The Book
http://www.rorsecurity.info/the-book/
Getting Started with Ruby on Rails: Installation
http://sixrevisions.com/web-development/getting-started-with-ruby-on-rails-installation/
This article will guide you through the process of installing Ruby on Rails, and any other software that is required to begin using it.
The Ruby Toolbox: Know your options!
http://ruby-toolbox.com/
Ruby developers can choose from a variety of tools to get their job done. The Ruby Toolbox gives you an overview of these tools, sorted in categories and rated by the amount of watchers and forks in the corresponding source code repository on GitHub so you can find out easily what options you have and which are the most common ones in the Ruby community.
The Ruby Toolbox gives you an overview of these tools, sorted in categories and rated by the amount of watchers and forks in the corresponding source code repository on GitHub so you can find out easily what options you have and which are the most common ones in the Ruby community.
31 Fascinating Ruby on Rails Tutorials & Guides - Nettuts+
http://net.tutsplus.com/articles/web-roundups/31-fascinating-ruby-on-rails-tutorials-guides/
michael galero » Blog Archive » Guide to Rails Metal
http://devblog.michaelgalero.com/2009/02/03/guide-to-rails-metal/
Writing a Rails Metal app can make you realize just how spoiled we’ve become with all the convenience that comes with Rails. Without the controller and view helpers, it can become a painful experience. Here’s a guide to help make it a better experience
5 Tips to Scale Your Ruby on Rails Application | Union Station
http://www.engineyard.com/blog/2009/5-tips-to-scale-your-ror-application/
5 Tips to Scale Your Ruby on Rails Application
Ruby on Rails on Google App Engine: Welcome aboard
http://jruby-rack.appspot.com/
Now RoR is supported by Google App Engine. What are you waiting for!?
Bitcetera: Mac-friendly Autotest
http://www.bitcetera.com/en/techblog/2009/05/27/mac-friendly-autotest/
I vaguely remember wanting to monitor changes to the filesystem. Here's a Ruby gem that uses Leopard's FSEvent.
Bitcetera: Mac-friendly Autotest autotestZenTest’s autotest is great, but it has one drawback: In order to detect whether you have modified a file, it relies on filesystem polling. In other words it constantly traverses the filesyst... はてなブックマーク - Bitcetera: Mac-friendly Autotest はてなブックマークに追加 dann dann ruby, testing, mac fseventでwatch
autotest-fsevent
“Enter the autotest-fsevent gem. It teaches autotest to use FSEvent instead of filesystem polling…”
絶対復習:このサイトについて
http://www.takao7.net/brushup/
学習補強サービス。活用する。
messagepub : Home
http://messagepub.com/
MessagePub: A multichannel messaging API
• A web service to allow communication from your application to your users • A single API to communicate via email, IM, twitter, SMS, and phone. • A service that lets you ask questions and process replies
Hackido: Install Ruby Rails on Ubuntu 9.04 Jaunty Jackalope
http://www.hackido.com/2009/04/install-ruby-rails-on-ubuntu-904-jaunty.html
web development that doesn`t hurt ?
jaunty install guide for rails
How to Create a Blog from Scratch Using Ruby on Rails
http://sixrevisions.com/web-development/how-to-create-a-blog-from-scratch-using-ruby-on-rails/
The view layer has one main purpose - to return the relevant HTML to be rendered on the users browser. In Rail a view is held in an erb (Embedded Ruby) file, which contains both HTML and embedded Ruby statements.
Let’s face it, you don’t want to build database access layer every time you start a new project.
This tutorial shows you how to create a basic blog using Ruby on Rails. By covering the design aspects of a Rails web application, it makes it easier to understand the concepts behind Rails and how they fit together.
Ruby Best Practices -- Blog
http://blog.rubybestpractices.com/
some articles on ruby
Building a Forum From Scratch with Ruby on Rails - Nettuts+
http://net.tutsplus.com/tutorials/other/building-a-forum-from-scratch-with-ruby-on-rails/
Forum From Scratch with Ruby on Rails - Nettuts+
Today, we will be building a simple forum using Ruby on Rails, and we will be working up from the basics covering things like authentication and more advanced
How to Add Simple Permissions into Your Simple App. Also, Thoughtbot Rules! // RailsTips by John Nunemaker
http://railstips.org/2009/4/20/how-to-add-simple-permissions-into-your-simple-app-also-thoughtbot-rules
I didn't realize the automatic boolean attributes part.
how to use mixins in Rails, with loads of useful stuff about testing at the end
Shoulda examples
Ruby at ThoughtWorks
http://martinfowler.com/articles/rubyAtThoughtWorks.html
In a word "yes". Search around for benchmarks on the net and you'll find numerous surveys that show that, even by the standards of scripting languages, Ruby is a tortoise.
Martin Fowler - detailed, but not too long, well presented pros and cons on ruby
Webbynode
http://webbynode.com/
"Webbynode is a hosting solution for developers. Whether it's Rails, Django, LAMP or your choice of Linux Distro, we have a solution for you"
新的hosting介绍。可以试试噢
Profiling Ruby With Google’s Perftools - igvita.com
http://www.igvita.com/2009/06/13/profiling-ruby-with-googles-perftools/
http://probablyinteractive.com/2009/3/29/Amazon%20EC2%20+%20Chef%20=%20Mmmmm.html
http://probablyinteractive.com/2009/3/29/Amazon%20EC2%20+%20Chef%20=%20Mmmmm.html
Amazon's Elastic Computing Cloud (EC2)
"how to get started with EC2, use Chef to prepare the server for rails apps, and then use Capistrano to start up a sample rails app"
Below I describe how to get started with EC2, use Chef to prepare the server for rails apps, and then use Capistrano to start up a sample rails app! It's really pretty easy!
Chef
Good starter tutorial for getting Chef going on an EC2 node.
ruby gc tuning :: snax
http://blog.evanweaver.com/articles/2009/04/09/ruby-gc-tuning/
cal production Rails app on Ruby 1.8 can recover 20% to 40% o
A Simple Twitter App with Ruby on Rails - Messages With Ajax | Noupe
http://www.noupe.com/ajax/create-a-simple-twitter-app.html
The Rails Way: Uploading Files
http://www.therailsway.com/2009/4/23/uploading-files
Paperclip
RubyTu.be - Ruby Screencasts and Videos for Ruby People
http://rubytu.be/
Ruby Screencasts and Videos for Ruby People
Fat Free CRM - Ruby On Rails-based open source CRM platform
http://www.fatfreecrm.com/
HTTP PubSub: Webhooks & PubSubHubbub - igvita.com
http://www.igvita.com/2009/06/29/http-pubsub-webhooks-pubsubhubbub/
The best part about Webhooks is that most of us are already familiar with them: callbacks over HTTP. Pioneered by PayPal and Subversion as a way to send real-time notifications to the client, they have found their way into many dozens of products we all use every day. Need pre or post commit hooks for your SVN or Git repository? Both GitHub and SVN support HTTP callbacks. Need a payment alert from PayPal, or an alert when a wiki page is modified? There are webhooks for that too. This simple mechanism allows us to build web services that work together via a simple and ubiquitous protocol we can all understand: HTTP!
"We offer this spec in hopes that it fills a need or at least advances the state of the discussion in the pubsub space. Polling sucks. We think a decentralized pubsub layer is a fundamental, missing layer in the Internet architecture today and its existence, more than just enabling the obvious lower latency feed readers, would enable many cool applications, most of which we can't even imagine. But we're looking forward to decentralized social networking."
With all the recent buzz about real-time web, surely this is the year XMPP/AMQP Publish-Subscribe (PubSub) makes it to the big leagues! Or maybe not. Ejabberd (XMPP), RabbitMQ (AMQP) and other pubsub server implementations have come a long way but they remain cumbersome to setup and maintain,
About Rip
http://hellorip.com/about.html
Rip is an attempt to create a next generation packaging system for Ruby.
How To Create An API? (10 Tutorials)
http://www.webresourcesdepot.com/how-to-create-an-api-10-tutorials/
API design tutorial
Free Web Resources Everyday - WebResourcesDepot
has_many :bugs, :through => :rails: Ruby on Rack #1 - Hello Rack!
http://m.onkey.org/2008/11/17/ruby-on-rack-1
Intro to Rack, with a slight rails focus.
20 Ruby on Rails Tuts to Rule Them All - Nettuts+
http://net.tutsplus.com/tutorials/ruby/20-ruby-on-rails-tutorials-to-rule-them-all/
20 Ruby on Rails Tuts to Rule Them All
AirBlog — A Paper Trail For Your Models
http://blog.airbladesoftware.com/2009/6/23/a-paper-trail-for-your-models
PaperTrail lets you track changes to your Rails app’s models’ data. It’s good for auditing or versioning. You can see how a model looked at any stage in its lifecycle and even undelete it after it’s been destroyed.
acts_as_versioned simply_audited
Ruby, Rails, Web2.0 » Blog Archive » DHH: Fuck the Real World
http://www.rubyrailways.com/dhh-fuck-the-real-world/
“We don’t have 200k RSS subscribers because of my deliciously swirly hair” - a central question (asked also during the Q/A session): how on the earth did Basecamp and other 37signals products become so popular? All of a sudden, they emerged from nowhere! As David points out, it was not that ‘out of the blue’ as it looks like. When they started with Basecamp, they already had 2000 subscribers on their blog, Signal vs Noise, so they built a channel which through they could advertise themselves. This advice meshes with one of my favorite points from Getting Real which goes something like “Just start doing something”. Really. Start blogging. Creating/contributing to open source software. Get on twitter. Let your voice be heard! You probably won’t have thousands of listeners right away, that’s OK - it takes time. But you can start today!
Getting Started With Restful Authentication in Rails - Nettuts+
http://net.tutsplus.com/tutorials/ruby/getting-started-with-restful-authentication-in-rails/
authlogic
Relevance Blog : Working With Multiple Ruby Versions Has Never Been This Easy
http://blog.thinkrelevance.com/2009/7/29/ruby-switcher-working-with-multiple-ruby-versions-has-never-been-this-easy
echo "source ~/ruby_switcher.sh" >> .bash_profile
http://github.com/spicycode/beholder
ruby_switcher 여러 버전의 루비를 명령하나로 바꿔가면서 사용할 수 있다
Nice post and accompanying bash script to manage multiple versions of ruby.
Set Up Your Server Right, Part 1 « Envy Labs
http://blog.envylabs.com/2009/08/set-up-your-server-right-part-1/
how to setup ubuntu server "right" really good guide on basics of setting up server
I am going to go through a series of blog posts explaining a lot of tips, tricks, and best practices for setting up a single server and the general small infrastructures. Today we are going to hit the basics — what I consider to be the bare minimum necessary to get an Ubuntu 8.04 LTS server ready to go and serving your rails application
Riding Rails: Introducing Rails Metal
http://weblog.rubyonrails.org/2008/12/17/introducing-rails-metal
a thin wrapper around Rack middleware intended for application-specific end points that need the extra speed
Rails Primer for Google App Engine with JRuby
http://rails-primer.appspot.com/
把 google appengine 包的更簡化....
"rails primer for google app engine"
Deployment Script Spring Cleaning - GitHub
http://github.com/blog/470-deployment-script-spring-cleaning
information on speeding up Capistrano deployment scripts
[deployment][capistrano][fabric]
A great article with chunks of details regarding how github reduced their deploy time from 15 minutes to 14 seconds. w00t!
Git based capistrano deployment
Presentations, Keynotes, and Interviews with 37signals
http://37signals.com/speaks
Presentations, Keynotes, and Interviews with 37signals
The Rails Way: Do it Later With Delayed Job.
http://www.therailsway.com/2009/7/22/do-it-later-with-delayed-job
Ryan's meta-programming approach for declaring background tasks doubles-up as documentation, and puts the focus on the individual methods rather than requiring you to create separate classes for your jobs.
Do it Later With Delayed Job.
TorqueBox: Home
http://torquebox.org/
TorqueBox is a new kind of Ruby application platform that integrates popular technologies such as Ruby-on-Rails, while extending the footprint of Ruby applications to include support for Job Scheduling, Task Queues, SOAP Handling, and Telecom. TorqueBox provides an all-in-one environment, built upon the latest, most powerful JBoss AS Java application server. Functionality such as clustering and cloud deployment is included right out-of-the-box.
TorqueBox
Ric Roberts: Ruby on Rails developer, Manchester, UK | Getting to grips with git (Part 1)
http://www.ricroberts.com/articles/2009/06/01/getting-to-grips-with-git
Essential Learning for Ruby and Rails - Nettuts+
http://net.tutsplus.com/tutorials/ruby/your-ruby-library-essential-reading/
Ruby is rapidly becoming the preferred programming language for many developers. With that said, let's look at some of the best tutorials, videos and books to
A/Bingo: RoR Split Testing by Bingo Card Creator
http://www.bingocardcreator.com/abingo
Google Website Optimizer seems a bit dirty - this looks like a cleaner way
My 10 Favorite Things About the Ruby Language « Katz Got Your Tongue?
http://yehudakatz.com/2009/08/24/my-10-favorite-things-about-the-ruby-language/
Tagaholic - Hirb - Irb On The Good Stuff
http://tagaholic.me/2009/03/13/hirb-irb-on-the-good-stuff.html
Hirb::View.formatter_config
Irb is a great place for interacting with Ruby. Unfortunately, even with the colorful help of wirble, it's not so great for visualizing the output of those interactions. Hirb aims to change that.
View mini framework for irb.
hurl
http://hurl.r09.railsrumble.com/
Hurl makes HTTP requests. Enter a URL, set some headers, then view the response. Perfect for APIs.
Web app for testing HTTP requests.
online version of curl for viewing HTTP messages
Analyse HTTP headers. Like curl, but on the web.
Hurl makes HTTP requests. Enter a URL, set some headers, then view the response. Perfect for APIs.
“On Rake” by John Barnette
http://www.jbarnette.com/2009/08/27/on-rake.html
A grab-bag of other bad usage I’ve seen recently:
I’ve been reading a lot of Rakefiles lately, and it’s obvious that the folks writing them think of Rake as An Engine For Encapsulating Tasks. That’s fine, but it’s only part of what Rake can do.
Riding Rails: Upgrading to Snow Leopard
http://weblog.rubyonrails.org/2009/8/30/upgrading-to-snow-leopard
Here is a quick rundown of common tasks you might have to do to migrate properly.
Riding Rails: Gem Packaging: Best Practices
http://weblog.rubyonrails.org/2009/9/1/gem-packaging-best-practices
Ruby's Metaprogramming Toolbox
http://weare.buildingsky.net/2009/08/25/rubys-metaprogramming-toolbox
That’s Not a Memory Leak, It’s Bloat | Engine Yard Blog
http://www.engineyard.com/blog/2009/thats-not-a-memory-leak-its-bloat/
ou combined memory
The Rails State Machine « Envy Labs
http://blog.envylabs.com/2009/08/the-rails-state-machine/
include ActiveModel::StateMachine
Ruby on Rails recently added a built-in ActiveModel::StateMachine implementation and even more recently tied it in to ActiveRecord. And, for being a built-in library, it’s pretty damned fully-featured.
Hivelogic - Compiling Ruby, RubyGems, and Rails on Snow Leopard
http://hivelogic.com/articles/compiling-ruby-rubygems-and-rails-on-snow-leopard/
These are instructions for compiling and installing 64-bit Ruby, Rubygems, and Ruby on Rails on Mac OS X 10.6, Snow Leopard.
sudo gem install mysql -- --with-mysql-dir=/usr/local/mysql
Snow Leopard compatible instructions for compiling ruby
ongoing · Ravelry
http://www.tbray.org/ongoing/When/200x/2009/09/02/Ravelry
Casey: We’ve got 430,000 registered users, in a month we’ll see 200,000 of those, about 135,000 in a week and about 70,000 in a day. We peak at 3.6 million pageviews per day. That’s registered users only (doesn’t include the very few pages that are Google accessible) and does not include the usual API calls, RSS feeds, AJAX. Actual requests that hit Rails per day is 10 million. 900 new users sign up per day. The forums are very active with about 50,000 new posts being written each day. Some various numbers — 2.3 million knitting/crochet projects, 19 million forum posts, 13 million private messages, 8 million photos (the majority are hosted by Flickr).
Some various numbers — 2.3 million knitting/crochet projects, 19 million forum posts, 13 million private messages, 8 million photos (the majority are hosted by Flickr).
RailsBridge : Teaching Kids Project : Blog : Teaching Ruby to High School Girls
http://teachingkids.railsbridge.org/2009/08/15/teaching-ruby-to-high-school-girls.html
pedagogical notes, interesting and useful
Teaching Ruby to High School Girls
Uploadify and Rails 2.3 // RailsTips by John Nunemaker
http://railstips.org/2009/7/21/uploadify-and-rails23
MetaSkills.net The Ultimate OS X Snow Leopard Stack For Rails Development - x86_64, MacPorts, Ruby 1.8/1.9, SQL Server, SQLite3, MySQL & More
http://www.metaskills.net/2009/9/5/the-ultimate-os-x-snow-leopard-stack-for-rails-development-x86_64-macports-ruby-1-8-1-9-sql-server-more
Cucumber: More Advanced | Engine Yard Blog
http://www.engineyard.com/blog/2009/cucumber-more-advanced/
Some slick, advanced features for Cucumber.
In this post, I’ll take a deeper dive and talk about a few more advanced Cucumber topics: project structures, multiple language support, scenario tables, free-form stories, tags, hooks and backgrounds.
Ruby on Rails Code Quality Checklist - Matthew Paul Moore
http://www.matthewpaulmoore.com/ruby-on-rails-code-quality-checklist
As ThriveSmart hires more developers - not all of them Ruby or Ruby on Rails experts - there's a growing need to ensure that code and design strategies maintain an extremely high level of quality across different projects. My good friend Dan and I assembled this checklist that all of our teams are expected to sign off on for each of their projects. It's an evolving list, but here's a snapshot of it.
Screencasts
http://www.learnivore.com/search
How Ravelry Scales to 10 Million Requests Using Rails | High Scalability
http://highscalability.com/how-ravelry-scales-10-million-requests-using-rails
How Ravelry Scales to 10 Million Requests Using Rails
Interessantissimo articolo su un sito web fatto in rails (www.ravelry.com) che ha raggiunto volumi di traffico davvero ragguardevoli. L'articolo illustra come è nata l'idea per il sito (si tratta di un sito per gli appassionati di cucito e lavoro a maglia), come si è arrivati a quei numeri (10 million requests a day hit Rails, 3.6 million pageviews per day, 430,000 registered users. 70,000 active each day. 900 new sign ups per day), dell'architettura adottata, e delle lezioni imparate.
Tim Bray has a wonderful interview with Casey Forbes, creator of Ravelry, a Ruby on Rails site supporting a 400,000+ strong community of dedicated knitters and crocheters.
Pathfinder Development » Ruby and Rails Style Guide
http://www.pathf.com/blogs/ruby-and-rails-style-guide/
Ruby and Rails Style Guide
kay with using braces for a multi-line block if you are using the result of the entire statement i
GravityBlast - by Andrea Franz » 2 minutes admin layout with rails and the web-app-theme generator
http://gravityblast.com/2009/07/30/2-minutes-admin-layout-with-rails-and-the-web-app-theme-generator/
script/generate theme application --app_name="My Cool Albums" --theme="drastic-dark"
Add layout generator
cool way to generate admin themes
RailsBridge
http://railsbridge.org/
A design and usability blog: Signal vs. Noise (by 37signals)
http://37signals.com/svn/posts/1952-i-gave-a-talk-on-ui-fundamentals-for-programmers
Chicago Boss - the no-nonsense MVC framework for Erlang
http://www.chicagoboss.org/
erlang
Distributed web hosting via erlang/python
Relevance Blog : 10 Must-Have Rails Plugins and Gems (2009 Edition)
http://blog.thinkrelevance.com/2009/9/30/10-must-have-rails-plugins-and-gems-2009-edition
Migrating to Snow Leopard for Rails Development – A Definitive Guide « A Fresh Cup
http://afreshcup.com/2009/09/02/migrating-to-snow-leopard-for-rails-development-a-definitive-guide/
Article about how to migrate to snow leopard.
InfoQ: Clojure and Rails - the Secret Sauce Behind FlightCaster
http://www.infoq.com/articles/flightcaster-clojure-rails
Clojure is a LISP for the JVM created by Rich Hickey.
FlightCaster, a realtime flight delay site, is built on Clojure and Hadoop for the statistical analysis. The web frontend is built with Ruby on Rails and hosted on Heroku. We talked to Bradford Cross about Clojure, functional programming and tips for OOP developers interested in making the jump.
Another critical piece of infrastructure is Cascading; an excellent layer on top of Hadoop that adds additional abstraction and functionality. We definitely recommend Cascading to anyone doing serious data processing and mining with Hadoop.
5 Tips for Sphinx Indexing | Engine Yard Blog
http://www.engineyard.com/blog/2009/5-tips-for-sphinx-indexing/
File: README [Unicorn: Rack HTTP server for Unix and fast clients]
http://unicorn.bogomips.org/
Ruby, Rack and CouchDB = lots of awesomeness « Merbist
http://merbist.com/2009/07/27/ruby-rack-and-couchdb-lots-of-awesomeness/
"couchdb ruby"
Logging to couch
Dr Nic ’s Install any HTML theme/template into your Rails app
http://drnicwilliams.com/2009/10/06/install-any-html-themetemplate-into-your-rails-app/
et me know if anyone else thinks this is usefu
So I’ve started to try and make any “HTML Template” into a “Ruby on Rails Template” with the helper app install_theme.
Nifty tool to convert a vanilla HTML/CSS layout into the views and static assets needed by a Rails app.
Unicorn! - GitHub
http://github.com/blog/517-unicorn
Unicorn is an HTTP server for Ruby, similar to Mongrel or Thin. It uses Mongrel’s Ragel HTTP parser but has a dramatically different architecture and philosophy.
Robby on Rails : Switch to Passenger (mod_rails) in development on OSX in less than 7 minutes or your money back!
http://www.robbyonrails.com/articles/2009/02/11/switch-to-passenger-mod_rails-in-development-on-osx-in-less-than-7-minutes-or-your-money-back
Switching to Passenger (mod_rails) in development on OSX.
Get passenger phusion working on the default apache install on osx
We recently switched our default builds of Rails Boxcar to leverage the benefits of using Passenger (mod_rails) for deployment of your Ruby on Rails applications and it’s been working out great for our customers. Several of our customers and colleagues mentioned that they also began using Passenger in development, which was intriguing.
Switch to Passenger (mod_rails) in development on OSX in less than 7 minutes or your money back!
High Scalability - High Scalability - How Ravelry Scales to 10 Million Requests Using Rails
http://highscalability.com/blog/2009/9/22/how-ravelry-scales-to-10-million-requests-using-rails.html
Cogent
Advanced Messaging & Routing with AMQP - igvita.com
http://www.igvita.com/2009/10/08/advanced-messaging-routing-with-amqp/
Cet article explique ce qu'est AMQP et comment l'utiliser en Ruby.
The flexibility of the message and the exchange model is what makes AMQP such a powerful tool. Whenever a publisher generates a message, he can mark it as 'persistent' which will guarantee delivery through the broker - if there is an attached queue, it will accumulate messages until the consumer requests them. However, if you're streaming transient data (access logs, for example), you can also disable message persistence and not worry about overwhelming your broker. That's how you achieve 'exactly-once' vs 'at least once' semantics.
Your font is too damn small.
Teach Me To Code - Screencasts
http://www.teachmetocode.com/
A number of lectures on coding with Ruby-on-Rails
Life is beautiful: Ruby on Railsの「えせMVC」の弊害
http://satoshi.blogs.com/life/2009/10/rails_mvc.html
ActiveRecordはDBを抽象化したものであって、modelではないと。
Jetpack Flight Log » High Quality Ruby on Rails Example Applications
http://jetpackweb.com/blog/2009/10/14/high-quality-ruby-on-rails-example-applications/
Sometimes to best way to get up to speed with a new technology is to learn by example. Here is a list of fully featured, production ready example applications I have compiled that I consider to be of very decent quality.
21 Rack Middlewares To Turbocharge Your Ruby Webapps
http://www.rubyinside.com/21-rack-middlewares-2649.html
collection of rack middleware
If you've worked with Web apps using Ruby, you might know of Rack, an interface that sits between Ruby applications and HTTP-speaking Web servers. All of the major Ruby frameworks and server setups use it now, including Rails. Middleware (in Rack) is code that manipulates data going back and forth between your Ruby apps and the HTTP server. You can use middleware to intercept requests, change data in mid-flow, etc. Ryan Bates has a great screencast tutorial if you're new to the concept and want to build your own.
litany against fear ¤ by nick quaranto ¤ Gem Bundler is the Future
http://litanyagainstfear.com/blog/2009/10/14/gem-bundler-is-the-future/
Rails in a Nutshell
http://rails-nutshell.labs.oreilly.com/index.html
Rails in a Nutshell is a concise introduction to Rails, an overview of commands and configurations, and a guide to the parts of Rails you’ll be using every day.
Beta Blog: Kill Your Signup Form with Rails
http://blog.henriquez.net/2009/08/kill-your-signup-form-with-rails.html
Even though the gradual engagement meme has been around for a while, and everyone just hates signup forms, they just seem to keep popping up like a bad habit.
Ok.
Tips for eliminating the signup process - other ways to discourage spam bots, and track users without passwords.
Even though the gradual engagement meme has been around for a while, and everyone just hates signup forms, they just seem to keep popping up like a bad habit. My site, Newsforwhatyoudo.com was one of the guilty parties. We saw users coming back to the site repeatedly, but not signing up. The percentage that looked at the signup form and then bolted was uncomfortably high. It was time to kill the signup form. This blog post documents how we implemented gradual engagement using Ruby on Rails and restful authentication.
How We Made GitHub Fast - GitHub
http://github.com/blog/530-how-we-made-github-fast
Jetpack Flight Log » Rails 2.3.4 and SWFUpload – Rack Middleware for Flash Uploads that Degrade Gracefully
http://jetpackweb.com/blog/2009/10/21/rails-2-3-4-and-swfupload-rack-middleware-for-flash-uploads-that-degrade-gracefully/
SASS: The Better, More Powerful CSS - Intridea Company Blog
http://intridea.com/2009/2/4/sass-the-better-more-powerful-css?blog=company
MongoDB: A Light in the Darkness! (Key Value Stores Part 5) | Engine Yard Blog
http://www.engineyard.com/blog/2009/mongodb-a-light-in-the-darkness-key-value-stores-part-5/
Really interesting article about mongoDB and about the installation procedure
"MongoDB can be thought of as the goodness that erupts when a traditional key-value store collides with a relational database management system, mixing their essences into something that’s not quite either, but rather something novel and fascinating. -- MongoDB support is available in many languages, making it a good choice for a system that has to work in a polyglot environment; all of the major languages have support."
Top 50 Ruby on Rails Websites
http://storecrowd.com/blog/top-50-ruby-on-rails-websites/
Top 50 Ruby on Rails Websites
Fix a bug in Ruby’s configure.in and get a ~30% performance boost. at time to bleed by Joe Damato
http://timetobleed.com/fix-a-bug-in-rubys-configurein-and-get-a-30-performance-boost/
technical ramblings from a wanna-be unix dinosaur
http://ghettochip.com/merb_internals
http://ghettochip.com/merb_internals
Knowing how tools you use work under the covers is a huge win for every developer out there and Merb is small and clean enough for everyone to understand it in a short period of time. You can learn a lot about HTTP, web frameworks design and even hidden gems of Ruby web servers (how many of you know that Thin can actually serve requests in threads and not block the event loop?).
Validatious 2.0 - Easy form validation with unobtrusive JavaScript
http://validatious.org/
Introducing Resque - GitHub
http://github.com/blog/542-introducing-resque
バッググランドジョブを管理する Resque の紹介
Rails Best Practices
http://www.slideshare.net/ihower/rails-best-practices
save
Weil ich mich von vielen verwirrenden asiatischen Schriftzeichen nicht abschrecken lasse.
Brian Mastenbrook: How I cross-site scripted Twitter in 15 minutes, and why you shouldn't store important data on 37signals' applications
http://brian.mastenbrook.net/display/36
How Twitter was hacked.
Twitter jilts Ruby for Scala • The Register
http://www.theregister.co.uk/2009/04/01/twitter_on_scala/
Rails
"Twitter jilts Ruby for Scala" - Alex Payne http://tr.im/i7Vb [from http://twitter.com/kenmat/statuses/1436463196]
Jammit: Industrial Strength Asset Packaging for Rails
http://documentcloud.github.com/jammit/
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 embedding. Jammit is an open-source component of DocumentCloud.
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 embedding.
Rubyの軽量Webフレームワーク「Sinatra」がステキ - 医者を志す妻を応援する夫の日記
http://d.hatena.ne.jp/shunsuk/20090422/1240401592
Passenderとの連携もOKと。調べてみよう。
フレームワーク Sinatra の解説
sinatra スライドがわかりやすい
これ
My top 7 RSpec best practices | Dmytro Shteflyuk's Home
http://kpumuk.info/ruby-on-rails/my-top-7-rspec-best-practices/
use RSpec in all my projects. It’s really hard to overemphasize how helpful it is and how much easier becomes your life if you have good specs coverage. But its outstanding flexibility enables many ways to make your specs awful: horribly slow, over-bloated, even non-readable sometimes. I do not want to teach you BDD and RSpec here, but instead I will give you some ideas how to improve your specs quality and increase efficiency of your BDD workflow.
Best practices in rspec
Beginners guide to Jquery + Ruby On Rails | Not Geekly Correct
http://www.notgeeklycorrect.com/english/2009/05/18/beginners-guide-to-jquery-ruby-on-rails/
Snow Leopard Ruby Development Environment Checklist / Gotchas | Ric Roberts: Ruby on Rails developer, Manchester, UK
http://www.ricroberts.com/articles/2009/09/04/snow-leopard-ruby-development-environment-checklist-gotchas
with
The Rails Way: Users and Passwords
http://www.therailsway.com/2009/8/3/users-and-passwords
a simple best practices article on handling passwords and authentication. There’s nothing particularly new here, but it’s always worthwhile revisiting the basics.
Integrating Flickr into your rails website - Pixellated Visions
http://www.pixellatedvisions.com/2009/04/06/integrating-flickr-into-your-rails-website
Notice the buttons!!
from mud
In this post I’m going to show you how I created the little Flickr stream you can see running down the right hand edge of this site.
How to use flickr_fu to show your flickr images on your rails website or blog
脱Excel! Redmineでアジャイル開発を楽々管理 - @IT自分戦略研究所
http://jibun.atmarkit.co.jp/lskill01/rensai/tool10/03/01.html
アジャイルではない。チケットの粒度は一週間というのは大きく感じる。もちろん案件の規模間に左右されるのだろうけど。フリーのJIRA。エンタープライズにはもういくばくかの機能が足
Confreaks: RubyConf 2009
http://rubyconf2009.confreaks.com/
Expert recording and networking services for conferences, seminars and workshops.
Scotland on Rails | Union Station
http://www.engineyard.com/blog/community/scotland-on-rails/
Assistir esses videos
Introducing Garb: Access the Google Analytics Data Export API with Ruby | Web Development Blog: Web Development Insights, Best Practices, Tips & Techniques : Viget Labs
http://www.viget.com/extend/introducing-garb-access-the-google-analytics-data-export-api-with-ruby/
Ruby on Rails Tutorial: Learn Rails by Example
http://www.railstutorial.org/
The Ruby on Rails Tutorial Book * Thorough introduction to Ruby on Rails * A book-in-progress * Up-to-date with the latest version of Rails * Full text available online * Associated screencast series coming soon
Why I think Mongo is to Databases what Rails was to Frameworks // RailsTips by John Nunemaker
http://railstips.org/2009/12/18/why-i-think-mongo-is-to-databases-what-rails-was-to-frameworks
Below are 7 Mongo and MongoMapper related features that I have found to be really awesome while working on switching Harmony, a new website management system by my company, Ordered List, to Mongo from MySQL.
The more I work with Mongo the more I am coming around to this way of thinking. I tell no lie when I say that I now approach Mongo with the same kind of excitement I first felt using Rails. For some, that may be enough, but for others, you probably require more than a feeling to check out a new technology
Git Work Flow For Rails Developers | Vinsol
http://vinsol.com/blog/2009/07/24/git-work-flow-for-rails-developers/
Cross posted from darthsid This is my very first blog post and so I though it should be about a tool that is indispensable for me - Git. I started using git
MF Bliki: SmutOnRails
http://martinfowler.com/bliki/SmutOnRails.html
GR: SmutOnRails: Shared by robinhowlett Martin Flower's POV on smut-gate (yes, I know, I hate the unoriginali.. http://tinyurl.com/cframh [from http://twitter.com/robinhowlett/statuses/1663151187]
I have a different vision - one that sticks it to the suits so hard it will make their eyes water. How about a community where women are valued for their ability to program and not by the thickness of their skin? How about a community that edgily pushes new boundaries without reinforcing long running evils? Perhaps even a community where women reach equal numbers? Such a community would hand the suits the defeat in the long battle women have been fighting for centuries. I'd love to be part of that.
A couple of weeks ago there was a Ruby conference in San Francisco called GoGaRuCo (Golden Gate Ruby Conference). This conference has grabbed attention due to a talk at which the presenter illustrated a discussion of CouchDB by using sexually suggestive pictures of women. Unsurprisingly the result has been a fair bit of heated, and occasionally offensive, debate.
NoSQL with MySQL in Ruby - Friendly
http://friendlyorm.com/
Rails/jQuery UI sortables with single UPDATE query – The Pug Automatic
http://henrik.nyh.se/2008/11/rails-jquery-sortables/
ついに無制限に解放されたGoogle App Engine/Java。RoRやPHP、もちろんJavaも試そう - Blog on Publickey
http://www.publickey.jp/blog/09/google_app_enginejavarorphpjava.html
せっかくなのでJavaを使ってみたい、という人には、@ITの記事をご紹介。Google App Engine/Javaの開発のためのJDKをGoogle App Engineにインストールし、手元のPCにはEclipseとプラグインのインストールから解説してくれます。後半ではBigtableデータの操作方法も。
SapphireSteel :: Ruby In Steel - New Free Edition includes Visual Studio
http://www.sapphiresteel.com/Ruby-In-Steel-New-Free-Edition
Ruby In Steel
Ruby In Steel Personal Edition (PE) 2008 provides all the tools needed to develop and maintain Ruby or Rails projects including syntax sensitive customizable code coloring and code folding, numerous coding tools such as auto-indenting, code reformatting, bracket and keyword matching and integrated consoles to allow users to interact with the Ruby interpreter in docked or floating windows. Ruby In Steel PE 2008 even includes a free copy of Visual Studio 2008 for Ruby! Ruby In Steel PE 2008 is available for personal or commercial development. It does not require registration and it does not time out. It comes with an ‘All-in-One’ installer to allow users to install all the software required including: Visual Studio 2008 (‘Shell edition’), Ruby, Rails, MySQL and Ruby In Steel. Alternatively, users who already own a commercial edition of Visual Studio 2008 may install Ruby In Steel into that.
6 Steps To Refactoring Rails (for Mere Mortals) | Union Station
http://www.engineyard.com/blog/2009/6-steps-to-refactoring-rails-for-mere-mortals/
Good pointers.
improve the way layouts were selected
refactoring
Adam Lowe: VIM Destroys All Other Rails Editors
http://www.adamlowe.me/2009/12/vim-destroys-all-other-rails-editors.html
What you use to edit code is any other tool and it comes down to personal preference. Personally I LOVE Vim. There are hundred different ways you could set up Vim. This is the setup that's worked best for me. Hope you enjoy it as well.
Cryptic Ruby Global Variables and Their Meanings | Purify Blog
http://blog.purifyapp.com/2010/01/04/cryptic-ruby-global-variables-and-their-meanings/
Lugeda
I Have No Talent // RailsTips by John Nunemaker
http://railstips.org/blog/archives/2010/01/12/i-have-no-talent/
RailsTips One man, feverishly posting everything he learns. Feed Iconsubscribe »
TextMate Screencasts for Rubyists
http://www.rubyinside.com/textmate-screencasts-for-rubyists-1658.html
PostageApp - The easier way to send email from web apps
http://postageapp.com/
Ruby on Rails Tutorial: Learn Rails by Example
http://www.railstutorial.org/book
Rails Searchable API Doc
http://voloko.ru/sdoc/rails/
search easy and good looking Rails api documentation
Smart search, beautifully packed
Easy Git External Dependency Management with Giternal
http://www.rubyinside.com/giternal-easy-git-external-dependency-management-1322.html
Google App Engine for Java with Rich Ruby clients
http://paulhammant.com/blog/google-app-engine-for-java-with-rich-ruby-clients.html
they are blending the best of proper languages and markup languages. That there is no obfuscated code/bytecode (you ship Ruby to the "browser" app that will interpret it) is a good thing, it will dis
app engine
Mave
Stanford's Entrepreneurship Corner: David Heinemeier Hansson, 37 Signals - Unlearn Your MBA
http://ecorner.stanford.edu/authorMaterialInfo.html?mid=2334
David Heineimeier Hansson, the creator of Ruby on Rails and partner at 37signals in Chicago, says that planning is guessing, and for a start-up, the focus must be on today and not on tomorrow. He argues that constraints--fiscal, temporal, or otherwise--drive innovation and effective problem-solving. The most important thing, Hansson believes, is to make a dent in the universe with your company.
James on Software | Introducing Friendly: NoSQL With MySQL in Ruby
http://jamesgolick.com/2009/12/16/introducing-friendly-nosql-with-mysql-in-ruby.html
I've been a big proponent of NoSQL for a while. I have played with just about all of the new generation of data stores. We almost got cassandra running in production once, and we've been running mongodb in production for about six months now. But, here's the thing: as awesome as these new dbs are, they're still young. Our app generates a ton of data and gets pretty serious traffic. So, we started hitting walls quickly. To make a long story short, we decided to fall back to MySQL. It's battle hardened. We know its production characteristics and limitations. Backups are a science. We know we can count on it. But, we have a lot of data, and adding fields and indexes was starting to get painful. Flexible schemas are one of the things that attracted me to NoSQL in the first place. Then, I remembered this article about How FriendFeed uses MySQL to store schema-less data. So, I decided to implement the system they describe in the article. Since we put Friendly in to production, we've seen
Friendly makes MySQL look like a document store. When you save an object, it seralizes all of its attributes to JSON and stores them in a single field. To query your data, Friendly creates and maintains indexes in separate tables. It even has write-through and read-through caching built right in.
Introducing Friendly: NoSQL With MySQL in Ruby Dec 16 2009 I've been a big proponent of NoSQL for a while. I have played with just about all of the new generation of data stores. We almost got cassandra running in production once, and we've been running mongodb in production for about six months now.
Relevance Blog : Blue Ridge 1.0: JavaScript Unit Testing for Rails. Scandalous!
http://blog.thinkrelevance.com/2009/5/12/blue-ridge-1-0-javascript-unit-testing-for-rails-scandalous
And be sure to check out the snippets as well. Type it, des, bef, or aft, and then press the tab key to expand into full it blocks, describe blocks, etc.
has_many :bugs, :through => :rails: Active Record Query Interface 3.0
http://m.onkey.org/2010/1/22/active-record-query-interface
In short, passing options hash containing :conditions, :include, :joins, :limit, :offset, :order, :select, :readonly, :group, :having, :from, :lock to any of the ActiveRecord provided class methods, is now deprecated.
Ruby on Rails 3.0 Release Notes
http://guides.rails.info/3_0_release_notes.html
Rails 3.0 is a landmark release as it delivers on the Merb/Rails merge promise made in December 2008. Rails 3.0 provides major upgrades to all of the components of Rails, including a complete overhaul of the router and query APIs.
omgbloglol
http://omgbloglol.com/post/344792822/the-path-to-rails-3-introduction
These big picture changes have concentrated on a few key areas: * Decoupling Rails components from one another as much as possible, making things more modular and a la carte. * Pulling in improvements from Merb and rewrite/refactor much of the internals to improve performance. * Exposing explicit, documented API’s for common tasks and integration of wider ecosystem components from testing, ORM, etc.
Hi, I'm Jeremy McAnally. I work at Intridea and tweet at @jm and get my open source on at http://github.com/jm and write run-on sentences.
Multiple Attachments with Validations In Rails with Paperclip - Cordinc Blog
http://www.cordinc.com/blog/2009/04/multiple-attachments-with-vali.html
Mr. Moore gets to punt on sharding - (37signals)
http://www.37signals.com/svn/posts/1509-mr-moore-gets-to-punt-on-sharding
I guess the conclusion is that there’s no use in preempting the technological progress of tomorrow. Machines will get faster and cheaper all the time, but you’ll still only have the same limited programming resources that you had yesterday. If you can spend them on adding stuff that users care about instead of prematurely optimizing for the future, you stand a better chance of being in business when that tomorrow finally rolls around.
From 37signals
VerkkoStadi Technologies is looking for a Hardcore PHP Developer. See more on the Job Board.
Riding Rails: Merb gets merged into Rails 3!
http://weblog.rubyonrails.org/2008/12/23/merb-gets-merged-into-rails-3
We all realized that working together for a common good would be much more productive than duplicating things on each side of the fence. Merb and Rails already share so much in terms of design and sensibility that joining forces seemed like the obvious way to go. All we needed was to sit down for a chat and hash it out, so we did just that.
Search: search is working now... Job Board Swanson Russell is looking for a Interactive Operations Manager. See more on the Job Board. Worth attention * Workshops * Podcast Categories * Documentation * General * Horizon * Jobs * Launches * Praise * Releases * Sightings * Tricks * Edge Syndicate * Articles * Powered by Mephisto Merb gets merged into Rails 3!
The 3 pillars of our Rails Monitoring Stack
http://blog.scoutapp.com/articles/2008/09/09/rails-monitoring-pillars
The 3 pillars of our Rails monitoring stack We break Rails monitoring into the 3 parts below (along with the tools we use): Process Monitoring System Performance Exception Notifications
TextMate shortcuts you should be using « require ‘brain’
http://szeryf.wordpress.com/2010/02/15/textmate-shortcuts-you-should-be-using/
Ruby Best Practices - Blog
http://blog.rubybestpractices.com/posts/gregory/rails_modularity_1.html
Sharing model data via ActiveResource -- good stuff.
What Pythonistas Think of Ruby | Free PeepCode Blog
http://blog.peepcode.com/tutorials/2010/what-pythonistas-think-of-ruby
The very things I find ugly in Ruby are what make amazing Ruby software like RSpec possible, and that Python could never have (given the current implementation). Gary Bernhardt I think Ruby's syntax is ugly until they do something glorious and beautiful with it like Rake, then I think "damn it!" Unidentified Attendee
Rails 3 Reading Material | Medium eXposure
http://mediumexposure.com/rails-3-reading-material/
tlvx: the tumblelog of luke crawford - The technical story of Muxtape
http://tlvx.net/post/74143734/the-technical-story-of-muxtape
That minimalist approach encompasses more that just aesthetics. It also informs our technical decisions, architecture, and the tools we use.
A good story about PHP and Ruby. I think a lot of developers get stuck up in their religious code circles that they forget that what they're really doing is mundane and completely stupid. Bottom line, be a lazy programmer.
sigh
The Ruby on Rails CMS Dilemma - aaronlongwell.com
http://aaronlongwell.com/2009/06/the-ruby-on-rails-cms-dilemma.html
Striking a balance between custom code (Rails) and off-the-shelf software (CMS)
"Ruby on Rails is an excellent framework for building web applications. Perhaps the best. But it's not currently very well suited to what I call web sites. The difference is simple. In a web site, the unique business value comes from the content creators (authors, bloggers, photographers, etc). In a web application, the business value comes directly from the programmers. Twitter, Google, Basecamp and eBay are web applications. CBSSports.com, KentuckyDerby.com, corporate brand sites and original news sources are all web sites."
The Ruby on Rails CMS Dilemma
explains why rails doesn't have a good cms
Soup-to-nuts
Web Spidering and Data Extraction with scRUBYt! | Ruby Pond
http://rubypond.com/articles/2008/12/09/web-spidering-and-data-extraction-with-scrubyt/
5 Ways to Speed Up Your Rails App | Union Station
http://www.engineyard.com/blog/2009/5-ways-to-speed-up-your-rails-app/
5 Ways to Speed Up Your Rails App
Ruby, Rails, Web2.0 » Blog Archive » Ruby’s Most Underused Keyword
http://www.rubyrailways.com/rubys-most-underused-keyword/
redo ‘jumps’ to the beginning of the block
REDO: Ruby’s Most Underused Keyword
To understand this, remember this (from the Pickaxe book): "A Ruby iterator is simply a method that can invoke a block of code"
Katz Got Your Tongue? » Rails and Merb Merge
http://yehudakatz.com/2008/12/23/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. Before talking tech, and even going into the details
Rails and Merb Will Merge. The end result? Rails 3. See http://www.merbivore.com/ too
Katz Got Your Tongue?
RailsとMerbの統合に関して
CouchDB with CouchRest in 5 minutes « The Merbist
http://merbist.com/2009/05/17/couchdb-with-couchrest-in-5-minutes/
The other night, during our monthly SDRuby meetup, lots of people were very interested in learning more about CouchDB and Ruby. I tried to show what Couch was all about but I didn’t have time to show how to use CouchDB with Ruby. Here is me trying to do that in 10 minutes or less. I’ll assume you don’t have CouchDB installed.
CouchDB with CouchRest in 5 minutes The other night, during our monthly SDRuby meetup, lots of people were very interested in learning more about CouchDB and Ruby. I tried to show what Couch was all about but I didn’t have time to show how to use CouchDB with Ruby. Here is me trying to do that in 10 minutes or less. I’ll assume you don’t have CouchDB installed.
Models vs. Modules - (37signals)
http://www.37signals.com/svn/posts/1553-models-vs-modules
mahtava evoluutioartikkeli. modelikoodi -> moduuleihin -> luokkiin. oon miettiny jotain tällästä, mutten saanu ajatusta täysin kasaan.
Myth #3: Rails forces you to use Prototype
http://www.loudthinking.com/posts/32-myth-3-rails-forces-you-to-use-prototype
Myth #3: Rails forces you to use Prototype
(My) RSpec best practices and tips | EggsOnBread
http://eggsonbread.com/2010/03/28/my-rspec-best-practices-and-tips/
Best practices and tips for Ruby RSpec
"After a year using RSpec, I’m happy to share “(My) RSpec Best Practices and Tips”. Let’s make your specs easier to maintain, less verbose, more structured and covering more cases!"
How to write more readable rspec tests
After a year using RSpec, I’m happy to share “(My) RSpec Best Practices and Tips”. Let’s make your specs easier to maintain, less verbose, more structured and covering more cases!
Ruby, Rails, Web2.0 » Blog Archive » Hot in Edge Rails: Generate Rails Apps from Templates
http://www.rubyrailways.com/hot-in-edge-rails-generate-rails-apps-from-templates/
using Jeremy McAnally's rails generator or the template feature that made it into rails core
template is able to generate a clean rails app which is basically bort (Or exactly bort. Or very similar to bort. Or similar to a bort lookalike. Or… I guess I leave this debate up to ruby lawyers, bort experts, rg zealots etc.) Anyway, it doesn’t really matter as rg was not invented to compete with bort - bort is merely used as an example because it’s probably the most popular Rails skeleton app nowadays - rg is far more general than that: an easy, concise, Rubyish way to describe your Rails app (including plugins, vendored gems, lib files, initializers and whatnot) in a very straightforward way.
The Lowdown on Routes in Rails 3 | Engine Yard Ruby on Rails Blog
http://www.engineyard.com/blog/2010/the-lowdown-on-routes-in-rails-3/
The Rails 3 routing looks great: http://www.engineyard.com/blog/2010/the-lowdown-on-routes-in-rails-3/ – Chris Wanstrath (defunkt) http://twitter.com/defunkt/statuses/11707528969
Ruby 1.9 compatibility: a three step ladder to bliss [Article] « elc technologies
http://www.elctech.com/articles/ruby-1-9-compatibility-a-three-step-ladder-to-bliss
During the last year I've ported a number of gems and Rails apps to Ruby 1.9. I feel it's important we as a community get the transition from 1.8 done and over with as soon as possible so we can get back to doing real work. I suspect that many of you have installed a Ruby 1.9 and that it lingers somewhere on your harddrive without much use. Maybe you're even one of those performance trolls, childishly happy reading articles like The Great Ruby Shootout and then goes back to coding in yesterdays Ruby like it's '99. ;)
Tips for writing your own Rails engine — GIANT ROBOTS SMASHING INTO OTHER GIANT ROBOTS
http://giantrobots.thoughtbot.com/2009/4/23/tips-for-writing-your-own-rails-engine
Some very good advice from Thoughtbot on constructing Rails Engines. I've started using their [Clearance](http://github.com/thoughtbot/clearance/tree/master) engine for user authentication.
from GIANT ROBOTS SMASHING INTO OTHER GIANT ROBOTS
Ruby Best Practices - Full Book Now Available For Free!
http://blog.rubybestpractices.com/posts/gregory/022-rbp-now-open.html
iPhone Web Development with Ruby on Rails
http://www.devx.com/wireless/Article/35532
Apple's iPhone has taken the nation by storm. An alleged half million moved from the shelves into people’s pockets in the first weekend it went on sale. Safari, the iPhone's native browser, claims to bring full featured browsing to the mobile device. You'll learn, over the course of this article, more than a few tricks that will help your website stand out on the iPhone. Knowledge of Ruby is not required to learn from this article as it relies heavily on Cascading Style Sheets and JavaScript to work its magic. You should be able to apply the tricks you'll learn here anywhere you'd use JavaScript or CSS. This article will not teach you everything you need to know about web development with Ruby on Rails, it will simply point out where the iPhone's browser differs from an ordinary one. Add up all these custom tweaks and you should have the tools you need to take your web site mobile. For a primer on Ruby on Rails, take a look at the Related Resources connected to this article.
4 Weather Libraries for Ruby and Rails Developers
http://www.rubyinside.com/ruby-weather-libraries-1251.html
天气预报接口 ruby on rails
Want to retrieve weather conditions in your Ruby script / application? There are four great solutions: WeatherMan, RWeather, rubyweather, and the Yahoo Weather Ruby API.
Jay Fields' Thoughts: Thoughts on Developer Testing
http://blog.jayfields.com/2009/02/thoughts-on-developer-testing.html
Excellent overview article on the goals of testing and various alternative testing strategies
some software is internal and not mission critical. In that
A post about testing, full of "from the field" advices. Number one: if it hurts you're doing it wrong. Jay describes a situation where common test patterns or tools are applied without a conscious decision like a big design up-front. Contextualize is again the keyword. There was a time I did the same: I thought mock-all development was the way to go and I started mocking all collaborators to discover interfaces. Which is of course not bad at all! The problem is if you decide that is the only approach possible for the entire application. Test maintenance is going to eat 100% of your time.
Thriving Organizational Patterns - Wagn
http://wagn.org/Thriving_Organizational_Patterns
a Wikiwhere people write together + a Databasewhere people organize information + a Content Management Systemwhere people build cool websites = a Wagn.where people organize cool websites together
Passenger-Stack: Quickly Install a full Ruby and Passenger Stack
http://www.rubyinside.com/passenger-stack-quickly-install-a-full-ruby-and-passenger-stack-1533.html
installing a full Ruby, Apache and Passenger-based stack almost a one-line task. It'll take almost any UN
Database Versioning
http://adam.blog.heroku.com/past/2009/3/2/database_versioning/
Migrations bother me. On one hand, migrations are the best solution we have for the problem of versioning databases. The scope of that problem includes merging schema changes from different developers, applying schema changes to production data, and creating a DRY representation of the schema. But even though migrations is the best solution we have, it still isn’t a very good one.
Check the brainstorming at the end. I love where he's going. Short version: a schema.yml file identified by its SHA1 hash. Migrations are for translating data between versions. Great comments at the end by the smart people in the community.
On one hand, migrations are the best solution we have for the problem of versioning databases. The scope of that problem includes merging schema changes from different developers, applying schema changes to production data, and creating a DRY representation of the schema.
The Elegant Ruby Web Framework - Padrino Ruby Web Framework
http://www.padrinorb.com/
Padrino Admin is a quick way to manage your backend!
Sinatra style framework with admin panel
A ruby web framework based on Sinatra - seems to have some kind of auto-admin feature.
A Rails 3 competitor
kd.to_tumblr - The Opposite of Momentum
http://kirindave.tumblr.com/post/60776407/the-opposite-of-momentum
Ruby is in a very bad place right now. It’s no longer cutting edge, it’s technically stagnant, is in implementation limbo, and just isn’t… well… fun, anymore.
Dave Kirin on Ruby's growing pains - "Perhaps the most frustrating part about Ruby, to me, is the outrageously outdated state of the current Ruby interpreter. There is basically no way to avoid writing software that leaks memory. It will happen, you just have to make it leak as little as possible. I still remember the massive effort that Tom Preston-Werner went through to get a relatively simple program like God.rb to not leak memory… and it still leaks memory!": 2008-11-20: kd.to_tumblr
Let me start by saying that I’ve been a longtime fan of Ruby. I’ve been a member of the #caboose cabal forever, and I’ve written hundreds of thousands of lines of ruby over the course the last 6 years. I’ve drank the Ruby kool-aid, helped to start two Rails Startups and integrated a lot of code into Ruby. I fought tooth and nail to get Lockheed Martin to include Ruby deliverables in their RSA2 standardization project (didn’t you know? Ruby helps launch rockets!)
Why Ruby is dying
What’s the password…haddock?
http://stephencelis.com/2009/03/29/whats-the-password-haddock.html
% ha-gen -f ~/Documents/awesome_words.txt
Generador de passwords friendly. Hay otras alternativas como flapcore.
Password generator that attempts to use words that are more rememberable.
Rails versus Django · SuperJared.com
http://superjared.com/entry/rails-versus-django/
neutral, non-inflammatory comparison on rails and django
Can't help it — I like these sorts of comparisons, even if they're highly contentious.
Rails versus Django
MOONGIFT: » Webシステム開発者に送る便利なテンプレート「Web App Theme」:オープンソースを毎日紹介
http://www.moongift.jp/2009/06/web_app_theme/
Webシステムの管理画面に使えそうなテンプレートの紹介。
Rails, Textile, and javascript WYSIWYG roundup | Midnight Oil
http://blog.aisleten.com/2008/09/11/rails-textile-and-javascript-wysiwyg-roundup/
- Network World
http://www.networkworld.com/slideshows/2008/111108-amazing-ruby.html
15 分钟做一个APP
Winning entries from the 2008 annual Ruby on Rails coding contest.
15 amazing Web apps built in 48 hours: Earlier this month, the Rails Rumble 2008 announced the eight winners of its programming competition where teams of up to four people had 48 hours to build original (and somewhat complete) Web apps. Ruby on Rails is perhaps best known as the app development platform that built Twitter. But competitions like the Rumble prove how powerful the young platform can be. Here, we showcase the competition winners along with other cool apps of enterprise appeal from the 130 qualifying entries. Winners were selected by an open vote on the Internet and were judged on appearance, completeness, innovation and usefulness.
15 ruby on rails web apps
15 amazing Web apps built in 48 hours
Learn Ruby on Rails from Scratch: Week 2 - NETTUTS
http://nettuts.com/site-builds/ruby-on-rails-from-scratch-week-2/
Learn Ruby on Rails from Scratch: Week 2 - NETTUTS
i like the layout and the colors
Learn Ruby on Rails from Scratch: Week 2
team-scheduler - Google Code
http://code.google.com/p/team-scheduler/
サーバインストール型のスケジュール管理ツール
semantic art - ruby - Using default_scope to recreate acts_as_paranoid in ActiveRecord 2.3
http://blog.semanticart.com/using_default_scope_to_recreate_acts_as_paranoid
def self.find_with_destroyed *args self.with_exclusive_scope { find(*args) } end
Rails 2.3 gives us “default_scope” which was described by Ryan Daigle as allowing you to “specify default ordering, and other scopes, in edge rails directly in your ActiveRecord model.” Ryan’s post gives some good examples of when you might want to use this (specifically on models where you always want them sorted in a specific manner). In the comments of that post, Ryan Bates suggests that this might be useful for “simulating destroying a model (like acts_as_paranoid).” Indeed this is possible and the idea of using scoping to create this is both present in acts_as_paranoid itself and also has been brought up before. In this article I’m going to reinvent the wheel using default_scope to illustrate how powerful default_scope is and how trivial it makes this task. You can keep track of the finished product in my is_paranoid gem.
gist: 44410 — GitHub
http://gist.github.com/44410
request.subdomains.first
Multiple Domains für eine Anwendung à la *.domain.irgendwo.
# 1) Point *.example.com in your DNS setup to your server. # # 2) Setup an Apache vhost to catch the star pointer: # # <VirtualHost *:80> # ServerName *.example.com # </VirtualHost> # # 3) Set the current account from the subdomain class ApplicationController < ActionController::Base before_filter :set_current_account private def set_current_account @current_account = Account.find_by_subdomain(request.subdomains.first) end end # 4) Tie all top-level requests off the current account class CustomersController < ApplicationController def index @customers = @current_account.customers end end
Subdomains
Rail Spikes: Testing SSL in Rails
http://railspikes.com/2008/9/12/testing-ssl
def test_get_new_with_http_should_redirect_to_ssl @request.env['HTTPS'] = nil get :new assert_redirected_to "https://" + @request.host + @request.request_uri end
@request.env['HTTPS'] = 'on'
Here’s a quick tip for how to test that your application is using SSL correctly.
Rails Rumble 2008 Apps « 48-Hour Launch
http://48hrlaunch.wordpress.com/2008/10/20/rails-rumble-2008-apps/
Rails Rumble 2008 Apps
Riding Rails: New 15-minute blog video on Rails 2.2
http://weblog.rubyonrails.org/2008/11/27/new-15-minute-blog-video-on-rails-2-2
The old 15-minute blog video was getting really long in the tooth, so it’s with great pleasure that I can present the new video made with Rails 2.2 and done by Ryan Bates. It really takes it all up a notch by showing the creation of a blog with comments, ajax, feed, api, admin interface, and more.
Rails
Riding Rails
the 15 minutes to fame tutorial redux
Testing Rails with Rack::Test - Ruby on Rails
http://effectif.com/articles/testing-rails-with-rack-test
Dead Simple Rails Deployment | blogt✪sk1
http://blog.jerodsanto.net/2009/05/dead-simple-rails-deployment/
with passenger and git
Deploying a Rails app used to suck. Reverse proxies, Mongrel clusters, Monit, etc. Capistrano helped out a lot (once you set it up the first time), but all in
Twibot: A Ruby Microframework for Building Twitter Bots
http://www.rubyinside.com/twibot-a-ruby-microframework-for-building-twitter-bots-1643.html
Map Fields - A Rails plugin to ease the importing of CSV files @ Ramblings on Rails
http://ramblingsonrails.com/map-fields-a-rails-plugin-to-ease-the-importing-of-csv-files
a very nice solution for importing csv files, it handles the mapping which is a very common problem
OMFG!!!! Manbabies are ready!!!!
Ease way to import csv files
Tim Dysinger » Using Amazon EC2 Metadata as a Simple DNS
http://dysinger.net/2008/10/13/using-amazon-ec2-metadata-as-a-simple-dns/
Using Amazon EC2 Metadata as a Simple DNS
I use the amazon metadata for creating /etc/hosts and do this on a cron schedule. This does everything I need. Instead of fancy DynDNS tricks or having to run and manage an internal DNS server I just have a ruby script that looks at the metadata ec2 to build /etc/hosts. It's easy. To set it up yourself and try it all you need are 3 easy steps. Step 1- Start each of your instances with unique named key that matches what you want their internal hostname to be. Such as "onion" or "potato" or whatever you want to call them. Step 2- Make sure you have ruby, rubygems and amazon-ec2 (rubygem) installed. Then create a ruby script in /usr/local/sbin/hosts that has the following:
"I use the amazon metadata for creating /etc/hosts and do this on a cron schedule. This does everything I need. Instead of fancy DynDNS tricks or having to run and manage an internal DNS server I just have a ruby script that looks at the metadata ec2 to build /etc/hosts."
Internbot Chronicles #3 — GIANT ROBOTS SMASHING INTO OTHER GIANT ROBOTS
http://giantrobots.thoughtbot.com/2009/4/24/internbot-chronicles-3-2
"The majority of our projects use Mocha, which does the job just fine".
Testing tools used at Thoughtbot
Test driven ruby on rails tutorial
Viele nette Test-Frameworks für Ruby.
Five open-source rails apps to study and learn from
http://blog.chrislowis.co.uk/2010/05/31/five-rails-apps-to-study-and-learn-from.html
Rethinking PDF Creation in Ruby
http://thinkrelevance.com/blog/2010/06/15/rethinking-pdf-creation-in-ruby.html
Ruby on Rails: Rails 3 Screencasts
http://rubyonrails.org/screencasts/rails3
ptions for Rails and the new Action Dispatch component. Action Dispatch contains a new syntax for routing which is even more concise and readable.
10 TextMate bundles/plugins to boost your Ruby on Rails development productivity | Adventures In Coding
http://adventuresincoding.com/2010/05/10-textmate-bundlesplugins-to-boost-your-ruby-on-rails-development-productivity/
Here are ten of my favourite bundles and plugins available to TextMate that will save you time and effort while working with Ruby on Rails.
http://5by5.tv/devshow/10
Rails Dispatch | Presented by Engine Yard
http://railsdispatch.com/posts/upgrading-a-rails-2-app-to-rails-3
Upgrading a Rails 2 App to Rails 3
In this article, we’ll go through the main areas of Rails 3 that have seen major improvements. We’ll see how the evolution of Rails into its current mature form makes it easy to accomplish usual tasks, while also packing up new features any serious developer would appreciate.
Upgrade a Rails 2 App to Rails 3
BBYIDX | Idea Crowdsourcing Platform
http://bbyidx.com/
BBYIDX is a free and open source idea-gathering application written in Ruby and distributed under the GNU Affero General Public License. It's the basis of the Best Buy IdeaX website and was created by and supported by Best Buy Enterprise Services Inc and Bust Out Solutions, Inc.
BBYIDX is an open source platform for crowdsourcing ideas. Developed by Best Buy Enterprise Services, Inc. and Bust Out Solutions, Inc., it is the basis for the Best Buy IdeaX website.
BBYIDX is a free and open source idea-gathering application written in Ruby and distributed under the GNU Affero General Public License. It's the basis of the Best Buy IdeaX website
5 Rails Plugins to Help Optimize Your MySQL | Purify Blog
http://blog.purifyapp.com/2010/06/15/optimise-your-mysql/
Bullet / SlimScrooge/ Query Reviewer / Rails Indexes / Ambitious Query Indexer
Migrating to CouchDB — CouchDB: The NoSQL Document Database
http://www.couch.io/migrating-to-couchdb
Duck Typo: The New Ruby Ecosystem
http://ducktypo.blogspot.com/2010/06/new-ruby-ecosystem.html
Why Ruby is excellent.
The new ruby on rails ecosystem http://cot.ag/9U99mw #ruby #rails ^MG – Ruby Done Right (rubydoneright) http://twitter.com/rubydoneright/statuses/17371268990
ng of the above is revolutionary. Taken all together, though, these changes are a great display of the power of simplicity, testing, openness and relentless experimentation. In fact, I think that the development commun
Duck Typo: The New Ruby Ecosystem
http://ducktypo.blogspot.com/2010/06/new-ruby-ecosystem.html
Why Ruby is excellent.
The new ruby on rails ecosystem http://cot.ag/9U99mw #ruby #rails ^MG – Ruby Done Right (rubydoneright) http://twitter.com/rubydoneright/statuses/17371268990
ng of the above is revolutionary. Taken all together, though, these changes are a great display of the power of simplicity, testing, openness and relentless experimentation. In fact, I think that the development commun
How to become successful Rubyist — Dmitry Belitsky blog. Web development, freelance, happy life.
http://belitsky.info/freelance/successful-ruby-freelancer/
如何称为一个成功的rubyist
Duck Typo: The New Ruby Ecosystem
http://ducktypo.blogspot.com/2010/06/new-ruby-ecosystem.html
Why Ruby is excellent.
The new ruby on rails ecosystem http://cot.ag/9U99mw #ruby #rails ^MG – Ruby Done Right (rubydoneright) http://twitter.com/rubydoneright/statuses/17371268990
ng of the above is revolutionary. Taken all together, though, these changes are a great display of the power of simplicity, testing, openness and relentless experimentation. In fact, I think that the development commun
Rethinking Rails 3 Controllers and Routes | Free PeepCode Blog
http://blog.peepcode.com/tutorials/2010/rethinking-rails-3-routes
Clojure
Improving URL routing for web apps.
1時間でツイッターサービスを作ろう! | KRAY Inc
http://kray.jp/blog/twitter_service_in_1hours/
Roadmap for Learning Rails | techiferous
http://techiferous.com/2010/07/roadmap-for-learning-rails/
1時間でツイッターサービスを作ろう! | KRAY Inc
http://kray.jp/blog/twitter_service_in_1hours/
Reflections on MongoDB // Collective Idea
http://collectiveidea.com/blog/archives/2010/06/15/reflections-on-mongodb/
Reflections on MongoDB -- http://bit.ly/aHCUC9