
DoingRails
文章平均质量分 84
linlin9111
这个作者很懒,什么都没留下…
展开
-
How to Build Sinatra on Rails 3
n Ruby, we have the great fortune to have one major framework (Rails) and a number of minor frameworks that drive innovation forward. One of the great minor frameworks which has been getting a lot of ...原创 2009-09-16 01:32:11 · 104 阅读 · 0 评论 -
Cells:将组件开发带入Ruby2.3
cells "将使得面向组件的开发惠及Ruby on Rails Web应用平台“,使得你能够创建独立并且可以重用的组件,这些组件是自包含的,并且能够和应用程序中的其他Cells组合在一起或者被其他Cells重用。构建在Cells之上的Apotomo对Cells进行了改进,使其成为一个完全状态化的组件,能够提供和广为人知的GUIwidget同级的抽象能力,即“Apotomo使用...原创 2009-10-20 09:17:09 · 140 阅读 · 0 评论 -
CentOS配置lighttpd和rails
lighttpd版本:1.4.18 fastcgi版本:2.4.0 安装zlib,不然gem install rails的时候可能会报错 rpm -ivh zlib-1.2.3-3.x86_64.rpm rpm -ivh zlib-devel-1.2.3-3.x86_64.rpm 安装ruby1.86 wget ftp://ftp.ruby-lang.org/p...原创 2009-10-20 14:22:49 · 180 阅读 · 0 评论 -
Installing Rails on CentOS 5
Note: Since this post originally went up, someof the packages have changed/updated. I’ve kept things pretty wellup-to-date, but you might want to double check the latest versions andalter the ...原创 2009-10-20 14:24:12 · 127 阅读 · 0 评论 -
How a 1-Engineer Rails Site Scaled to 10 Million Requests Per Day
Ravelry is an online knitting and crochet community run by husband and wife team Casey and Jessica Forbes. A few weeks ago they did an interview with Tim Bray where they revealed that their site h...原创 2009-10-20 14:49:09 · 147 阅读 · 0 评论 -
Ruby on Rails and the importance of being stupid
A tale of two servers…Server #1: I attended a presentation by a guy with a background inlaw and business, what we programmers commonly call “an idiot”. He hadset out to build a site where people...原创 2009-10-21 08:13:04 · 114 阅读 · 0 评论 -
Ruby on Rails Roadshow in Austin Thursday
Justin Britten founded Prefineryin 2007 on the idea that excellent software is built in collaborationwith your beta testers. Justin is passionate about building,discovering, and using awesome s...原创 2009-10-29 14:25:47 · 97 阅读 · 0 评论 -
Integrating Flickr into your rails website
In this post I’m going to show you how I created the little Flickrstream you can see running down the right hand edge of this site.Step 1: Get a Flickr API keyVisit this pageand follow the i...原创 2009-10-29 20:37:20 · 128 阅读 · 0 评论 -
Rails + Google Analytics = easy goal tracking
GoogleAnalytics is an indispensable tool as you optimize the business side ofyour operation. If you haven't already set up goals in Analytics forviewing your pricing information, accessing the...原创 2009-10-29 20:38:37 · 106 阅读 · 0 评论 -
Heroku Gets Add-Ons: Serious Ruby Webapp Hosting Made Easy
Heroku is a Ruby webapp hosting service that we first mentionedabout two years ago. It started off as an online IDE of sorts, but isnow a complete cloud platform for running Ruby webapps. You ca...原创 2009-10-30 07:37:52 · 149 阅读 · 0 评论 -
Let a human test your app, not (just) unit tests
I’m a big believer in unit testing. We unit test our Rails appsextensively, and we’ve done so for years. On some projects, we do bothunit testing and integration testing using Cucumber. I preach...原创 2009-10-31 09:26:10 · 126 阅读 · 0 评论 -
Top 50 Ruby on Rails Websites
We’re big fans of Ruby on Rails here at Store Crowd, we’re using it ourselves in alpha development. We thought it’d be great to honor all the great ROR websites out there online to show you some of th...原创 2009-10-31 15:18:50 · 181 阅读 · 0 评论 -
Thank you, Rails
It’s fashionable, or perhaps inevitable, for tech communities to trash theircompetition. The Emacs folks like to mock vi users; Windows folk look down onus Mac users (and Linux users mock us both)...原创 2009-11-06 18:21:47 · 144 阅读 · 0 评论 -
Shrink your JavaScript with the Google Compiler Rails Plugin
Like it or not, JavaScript has become the heaviest asset on modernwebpages. Long gone are the days of waiting for large images to load,now we wait for fancy effects libraries, re-tweet counters, a...原创 2009-11-16 11:27:55 · 105 阅读 · 0 评论 -
Generating Thousands of PDFs on EC2 with Ruby
The ProblemFor about two months, we’ve been working on a static website thatexposes the results of complicated economics model to non-economists.We decided to make the site static because of the...原创 2009-12-24 18:01:39 · 201 阅读 · 0 评论 -
rails cms
Rails CMS alternatives====================== Note: project activity was checked on 11/26/09. Active projects:---------------adva-cms repo: http://github.com/svenfuchs/adva_cms/ sit...原创 2009-12-28 20:29:20 · 171 阅读 · 0 评论 -
MerbAdmin:Merb数据管理好帮手
Merb中要加入类似Django的Admin功能早有传闻,如今在Erik Michaels-Ober等人的努力下,期待已久的MerbAdmin终于基本成型。MerbAdmin的主页中是这样介绍的: MerbAdmin是一个提供了易用数据管理界面的Merb插件。 最新的0.7.6版本能够用于Merb 1.0.x与Merb 1.1,兼容Ruby 1.9,支持MySQL、PostgreSQL...原创 2010-01-11 09:43:43 · 103 阅读 · 0 评论 -
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 o...原创 2009-10-15 16:34:07 · 99 阅读 · 0 评论 -
Install Passenger on Ubuntu
Phusion Passenger is one of the easiest Rails and Rack environments to set up and configure with Apache2. With my bootstrapping scripts, the ability to establish a Virtual machine image and have a wor...原创 2009-10-07 10:17:01 · 132 阅读 · 0 评论 -
Installing Ruby on Rails with Apache on Ubuntu 9.04 (Jaunty)
Installing Passenger and DependenciesBefore we get started there are a number of system-level dependencies that you will almost certainly need as you begin deploying your Rails app. Lets get them ...原创 2009-10-07 10:00:34 · 176 阅读 · 0 评论 -
NGINX buffer underflow security vulnerability
From the Debian Security team (CVE-2009-2629):nginx … is vulnerable to a buffer underflow when processing certain HTTP requests. An attacker can use this to execute arbitrary code with the rights ...原创 2009-09-16 01:35:08 · 236 阅读 · 0 评论 -
9 Essential Rails Tips
Rails is a framework about conventions. It generates a basic structure which you mold into your dream application. Over the course of the years, we have gathered some basic, rails specific, hints and ...原创 2009-09-22 11:42:04 · 157 阅读 · 0 评论 -
Ubuntu9.04下安装Rails轻松八步搞定
第一步,安装Rubysudo apt-get install ruby1.8 irb1.8 ri1.8 ruby1.8-dev build-essential第二步,安装Rubygemssudo apt-get install rubygems1.8第三步,修改 /etc/profile增加 export PATH=$PATH:/var/lib/gems/1.8/bin/第...原创 2009-09-24 11:16:49 · 118 阅读 · 0 评论 -
Five-Minute Rails Application Deployment
Ready to deploy your Rails application to Rails Machine? Follow these steps and you’ll have it running in no time! Feel free to utilize Rails Machine’s Ask Us Anything Support and contact us with any ...原创 2009-09-24 11:32:13 · 133 阅读 · 0 评论 -
Rails Server Setup + App Deployment Using Moonshine
Step 1. Initial server setupYou’ll need an Ubuntu box to get started. After the basic install you’ll need to run a few commands to get the box ready.Log into your server via ssh & change your ...原创 2009-09-24 11:33:41 · 156 阅读 · 0 评论 -
The Evolution of a Programmer
High School/Jr.High 10 PRINT "HELLO WORLD" 20 ENDFirst year in College program Hello(input, output) begin writeln('Hello World') end.Senior year in College...原创 2009-09-26 08:28:08 · 87 阅读 · 0 评论 -
Exporting data to CSV and Excel in your Rails apps
Sometimes users want to slice and dice data as they wish. In such scenarios, it’s usual to export the data in a tabular format so your users can use any spreadsheet editor and do whatever they want....原创 2009-09-26 13:06:31 · 155 阅读 · 0 评论 -
Setting up a new Rails app with Git
Want to be a dark-knight git-wielding Rails coder? Here’s a quick run-through of how you might want to set up git with a new Rails app.I’m assuming you’ve managed to compile and install the 5TB of d...原创 2009-09-26 15:56:11 · 844 阅读 · 0 评论 -
Mobilize Your Rails Application with Mobile Fu
Let's face it, iPhone interfaces are awesome, but they can only cater to a fraction of the mobile market. What are you to do if you want to satisfy the rest of the mobile world? Mobile Fu helps to m...原创 2009-09-29 18:36:18 · 96 阅读 · 0 评论 -
Ruby-On-Rails Startup FiveRuns Acquired By WorkThink
Ruby-on-Rails startup FiveRuns has been acquired byWorkThink, according to FiveRuns’ site. FiveRuns provides a variety of monitoring products for Ruby on Rails and related open source and commercial...原创 2009-09-30 08:26:06 · 100 阅读 · 0 评论 -
BugMash Cheat Sheet
Here's a list of handy shortcuts for BugMashers.Required softwareIf you're having trouble getting the Rails source code set up on your computer, use our Pre-flight Checklist as a guide, or drop ...原创 2009-10-01 18:56:17 · 107 阅读 · 0 评论 -
Ubuntu 脚本常用软件+ruby on rails
初次使用Ubuntu,我想这个脚本会大大方便你配置Ubuntu,ruby on rails是本人的爱好,你也可以直接注释掉最后己行,只安装软件亦可#!/bin/bashRUBY_VERSION="1.8.6-p287"RUBY_GEM_VERSION="1.3.1"RAILS_APP_DEPLOYMENT_DIR="/var/www/rails"MOD_RAILS_VERSION="2.0...原创 2009-10-02 08:43:32 · 163 阅读 · 0 评论 -
sns网站开发经验总结:中国省份城市插件(一)
经过三个多月的共同努力,sns项目终于完成上线了。感谢众位合作兄弟的持续支持和热情投入。项目走过了开发,完善,再开发,再完善的过程。下面逐步将开发中的经验和大家分享。期待和大家共同交流,提高水平。谢谢!今天首先介绍一个优秀的插件,city_helper。代码:http://github.com/yzhang/city_helper/tree/master网站:http://www....原创 2009-10-05 14:33:47 · 153 阅读 · 0 评论 -
Rails博客软件 Enki
Enki 是一个采用 Ruby on Rails 开发的博客软件,适合开发人员使用。安装方法:git clone git://github.com/xaviershay/enki.git enkicd enkigit checkout -b myblog # Create a new work branchcp config/database.example.yml config/da...原创 2009-10-05 14:59:57 · 142 阅读 · 0 评论 -
Cells: Components for Rails 2.3
cells "brings the benefits of component-oriented development to the Ruby on Rails web application platform", letting you create independent and reusable components that are self contained and can be c...原创 2009-10-06 07:42:54 · 135 阅读 · 0 评论 -
Ruby on Rails with Nginx on Ubuntu 9.04 (Jaunty)
Install Required PackagesFirst, make sure you have the universe repository enabled in your /etc/apt/sources.list file. Your file should resemble the following:File excerpt: /etc/apt/sources.li...原创 2009-10-07 09:57:25 · 158 阅读 · 0 评论 -
Rails 3 Beta版本月将出 Merb融合带来选择
Rails 3,目前流行Web开发框架Rails的一个升级版本,正试图通过升级的方式实现与Merb框架的合并,这一切将包括在1月底的Beta版中。以上消息由Rails框架创始人DHH在1月4日下午透露。 Rails创始人DHH(David HeinemeierHansson)说:“假如我们在1月底还未完成发布的话,那功能完整的Rails 3 Beta版将不迟于2月份完成。”Rail...原创 2010-01-11 09:48:20 · 131 阅读 · 0 评论