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.
Posted by
aroedl 5 months ago
aroedl 5 months ago
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.
Posted by
flood 7 months ago
aptana.com —
How to install the Ruby on Rails, Ajax, Html, Javascript development IDE Aptana and RadRails Eclipse Plugins on Ubuntu.
Posted by
twan 4 months ago
twan 4 months ago
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.
Posted by
aroedl 3 months ago
aroedl 3 months ago
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.
Posted by
aroedl 5 months ago
aroedl 5 months ago
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.
Posted by
aroedl 4 months ago
aroedl 4 months ago
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.
Posted by
aroedl 7 months ago
aroedl 7 months ago
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.
Posted by
aroedl 6 months ago
aroedl 6 months ago
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.
Posted by
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.
Posted by
Hoodow 5 months ago
Hoodow 5 months ago 









