Formtastic is a Rails FormBuilder DSL (with some other goodies) to make it far easier to create beautiful, semantically rich, syntactically awesome, readily stylable and wonderfully accessible HTML forms in your Rails applications.
(Link: Formtastic is a Rails FormBuilder DSL)
Uncategorized
forms, gem, rubyonrails
Phusion Passenger (aka mod_rails) allows for easy and scalable deployment of Ruby on Rails applications on Apache or Nginx servers. Part of what makes it so easy is that it comes with suitable default settings right out of the box, so that you don’t need to concern yourself with any of the details when deploying your application to production.
(Link: Performance Tuning for Phusion Passenger (an Introduction) – Alfa Jango Blog » Blog Archive)
Uncategorized
passenger, performance, rubyonrails
Hobo is a collection of open-source gems/plugins for Ruby on Rails that help you build anything from throwaway prototypes and internal utilities to meticulously crafted full-blown web apps. The goal: write less code. So much less in fact that it starts to feel like you’re not implementing your app at all, you’re just declaring what you want.
It turns out that the hard part is not going fast, but staying flexible. This is where we think Hobo really shines. If you’ve played with “app builders” before, you’ll know about The Wall. The Wall is the point you reach where you have to give up and do it the old way because that one feature you really need just isn’t going to happen. Hobo doesn’t have one.
(Link: Hobo – the web application builder for Rails)
Uncategorized
rubyonrails
profile = DiviningRod::Profile.new(request) # Notice that the tags aggregate. This is the only hash value that doesn’t override. profile.tags #=> [:webkit, :safari, :youtube_capable, :apple, :iphone_os, :iphone] # Which we can ask about profile.iphone? #=> true profile.apple? #=> true # and retrieve arbitrary hash values, like :name, and :format profile.format #=> :webkit profile.name #=> ‘iPhone’
(Link: Divining Rod – A magical stick for mobile profiling)
Uncategorized
rubyonrails, useragent
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.
(Link: David Heinemeier Hansson, 37signals – Unlearn Your MBA (Stanford’s Entrepreneurship Corner: ))
Uncategorized
rubyonrails, startup
Auditable is an ActiveRecord extension that allows you to keep audit logs of any changes made to a model.
(Link: RailsLodge – Auditable plugin)
Uncategorized
audit, rubyonrails
Deploy your Rails apps and keep your server configuration in version control with Moonshine
(Link: Deploying Rails applications with Moonshine)
Uncategorized
deployment, moonshine, rubyonrails
Putting your source code under version control with Git is strongly recommended, not only because it’s nearly a universal practice in the Rails world, but also because it will allow you to share your code more easily (Section 1.3.4) and deploy your application right here in the first chapter (Section 1.4).
(Link: Ruby on Rails Tutorial: Version control with Git)
Uncategorized
git, rubyonrails
one of the largest shared hosting services that serves countless sites. They’re extremely inexpensive, provide SSH access, have Rails integrated into their service, and have made a serious investment in supporting Rails. Via their customized CPanel, you can control which gems you install and which Rails applications you want to run (all through a web interface). This service is very easy and definitely recommended for beginners – especially those on a budget.
(Link: HostGator – Rails Web Hosting Services, Reseller Hosting, and Dedicated Servers)
Uncategorized
hosting, rubyonrails, webhosting
Beta Invitations
You know those invitation systems where a given user can invite a number of other people to join? That’s what I show you how to make in this episode.
(Link: Railscasts – Beta Invitations)
Uncategorized
invitation, rubyonrails, tutorial
This is a collection of small tips and tricks related to developing web applications using the Ruby on Rails framework.
These tips are gathered from my personal experience of 4 years working with the framework, including more than 2 years of professional work at Belighted.
The talk was given in the Ruby on Rails Developer Room at Fosdem 2010 (www.fosdem.org)
(Link: 25 Real Life Tips In Ruby on Rails Development)
Uncategorized
rubyonrails
Stats
Birthday stats are always fun. Here are some of our favorites:
* 55,700,000 comments
* 53,000,000 megabytes of uploaded files (that’s 53 terabytes)
* 38,000,000 to-dos
* 24,600,000 messages
* 8,600,000 completed milestones
* 3,600,000 users
* 3,600,000 projects
* And for the technically minded: At peak we’re doing 220 requests a second with an average response time of 160ms.
(Link: Basecamp turns 6 – (37signals))
Uncategorized
rubyonrails
1.1 Ruby 1.8.6 no longer supported
1.2 Rails Application object
1.3 script/* replaced by script/rails
1.4 Dependencies and config.gem
1.5 New APIs
1.6 Upgrade Process
(Link: Ruby on Rails 3.0 Release Notes)
Uncategorized
rails3, rubyonrails
I’ve created a (pretty hacky) gem named rails-upgrade (installable by a simple gem install rails-upgrade) to automate some of the more annoying parts of the upgrade from Rails 2.x to Rails 3. So far, it has three parts…
(Link: gem rails-upgrade: Automating a portion of the Rails 3 upgrade process)
Uncategorized
rails3, rubyonrails
As anyone who uses Twitter can attest, even with some very specific search terms, language filtering and geocoding, there is going to be a lot of white noise. I decided to take this one step further.
Bayesian classification (your garden-variety spam filter) in ruby is quite easy, thanks to ruby-stemmer and the excellent classifier gem. The canonical example:
(Link: Bayesian Classification on Rails | Logan Koester)
Uncategorized
ai, bayesian, ruby, rubyonrails