HowFlow

Tricks in category 'Ruby on Rails'


HowFlow — The Ruby on Rails plugin userstamp automatically sets created_by and updated_by and works much like the ActiveRecord::Timestamp module (created_at and updated_at). But when you try to save a record on the Rails console, it suddenly returns an error.

Share it!   Posted by aroedl aroedl 5 months ago

http://fairleads.blogspot.com/2007/12/rails-20-and-scaffolding-step-by-step.html
blogspot.com There were quite a few changes in the 2.0 release, including the way that Rails generates scaffolding code. This change will probably cause trouble for people using tutorials written for previous versions of Rails. I hope this tutorial will help readers get started with Rails 2.0 and keep the community of Rails developers growing.

Share it!   Posted by Avatar flood 7 months ago

http://www.aptana.com/rails/
aptana.com How to install the Ruby on Rails, Ajax, Html, Javascript development IDE Aptana and RadRails Eclipse Plugins on Ubuntu.

Share it!   Posted by twan twan 4 months ago

http://intridea.com/2008/7/21/mobilize-your-rails-application-with-mobile-fu
intridea.com 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 make this job much easier by automatically detecting mobile devices that access your Rails application.

Share it!   Posted by aroedl aroedl 3 months ago

http://railscasts.com/episodes/115
railscasts.com Rails 2.1 brings some new caching features which makes it very easy to cache any values including models. See how in this episode of Railscasts.

Share it!   Posted by aroedl aroedl 5 months ago

http://railscasts.com/episodes/117
railscasts.com Static pages can sometimes be a little awkward to add to a Rails app. See a couple different solutions to this problem in this railscasts episode.

Share it!   Posted by aroedl aroedl 4 months ago

http://railscasts.com/episodes/102
railscasts.com Usually a select menu is used for setting a belongs_to association, but in this episode I will show you how to use a text field with auto completion.

Share it!   Posted by aroedl aroedl 7 months ago

http://railscasts.com/episodes/103
railscasts.com Sometimes you need to display an administrative announcement to every page on the site and give the users the ability to hide the announcement. See how in this episode. Yet another great railscast. Follow the link and make sure to have a look at our content page for an alternative way to do it.

Share it!   Posted by aroedl aroedl 6 months ago

http://github.com/ajh/acts_as_soft_deletable/tree/master
github.com Temporarily delete records from AR models: This plugin provides the ability to soft delete ActiveRecord models. When models are destroyed, they will be archived into a special deleted table. They can later be restored easily.

Share it!   Posted by Avatar flood 6 months ago

HowFlow — This trick shows how to configure Lighttpd to deliver static content directly and proxy the requests to dynamic content to Mongrel, Thin or whatever.

Share it!   Posted by Hoodow Hoodow 5 months ago