250 RadRails Templates

Posted by Corban Brook Fri, 17 Nov 2006 16:41:31 GMT

Dr. Nic has converted all of the Textmate snippets to RadRails templates. All 250 of them.

RADRails will include these templates in the new version 0.7.2 scheduled to push next week, but if you cant wait, download them now from Dr. Nics new site, www.radrailstemplates.com.

Posted in ,  | no comments

Installing Rails and Mongrel on a Shared Host

Posted by Corban Brook Wed, 15 Nov 2006 22:01:10 GMT

In some situations you may find yourself needing to install mongrel or other ruby gems in a shared environment and the documentation out there for taking on such an enterprise is quite lacking.

Today I went through the trouble and figured out how.

Read more...

Posted in ,  | 2 comments

TextMate-like Template Syntax for RADRails

Posted by Corban Brook Mon, 18 Sep 2006 19:53:05 GMT

UPDATE: Dr Nic carried the torch and converted all of TextMates snippets to radrails templates. These templates will also be included in the next RADRails release 0.7.2 which will come out the week of November 20th. If you cant wait, read Dr Nic’s post now and get his updated templates.

Now TextMate users can migrate to RADRails even easier after their 30-day Trial period is over.

I have gone through most of the Rails commands in TextMate and made equivalent templates in RADRails. If anything it will make it easier for rails developers to move back and forth between the two most popular IDEs.

Download: 2006-09-18.RADRails-TextMate_Templates-v1.xml

(right click and Save As..)

Read more...

Posted in  | Tags , , ,  | 12 comments | 4 trackbacks

Rails 1.1.5 Released: Fixes Top Secret Security Flaw

Posted by Corban Brook Wed, 09 Aug 2006 19:44:56 GMT

“This is a MANDATORY upgrade for anyone not running on a very recent edge (which isn’t affected by this). If you have a public Rails site, you MUST upgrade to Rails 1.1.5. The security issue is severe and you do not want to be caught unpatched.

The issue is in fact of such a criticality that we’re not going to dig into the specifics. No need to arm would-be assalients.”

Im guesing it is an sql injection hole allowing someone to remotely blow away your entire database. Rails has been pretty good so far in regards to sql injection so its about time something was found.

For the lazy ones among us, lets just hope the hole remains top secret… at least until after I get back from vacation.

I quickly upgraded 3 servers to 1.1.5 in about 10 mins. For those of you who upgraded to typo-4.0 a couple week ago make sure to freeze rails to the new version (it will have freezed to you 1.1.4 in /vendor)

rake rails:freeze:gems

More Info

Posted in  | no comments | no trackbacks

Schadenfreude Upgraded to Typo 4.0

Posted by Corban Brook Mon, 31 Jul 2006 18:27:55 GMT

Today I upgraded schadenfreude to typo-4.0

The upgrade was not without a few snags but everything seems to be running fine now.

Posted in  | no comments | no trackbacks

Mongrel 0.3.13.4 Pre-Release

Posted by Corban Brook Sun, 30 Jul 2006 16:55:00 GMT

Mongrel 0.3.13.4 Pre-Release is out and now it supports an option for prefixing your rails applications into sub directories.

“A new—prefix command line option for people who want to mount their rails app at a different base URI.”

This means you can now run rails applications from within a sub directory off the webroot easily and without broken paths.

Note: I have tested this with a collaboa install in a sub dir, like: http://www.domain.com/collaboa and it works without a hitch.

Read more...

Posted in ,  | no comments | no trackbacks

Using ActiveRecord for Simple Maintenance Scripting

Posted by Corban Brook Tue, 09 Aug 2005 20:12:00 GMT

Over the last year the new ruby web framework, Ruby on Rails, has been rapidly maturing and a 1.0 release is due to push before RubyConf2005 in October. Rails is designed for RAD utilizing code generators and scaffolding allowing developers to quickly prototype interfaces to database tables . A great deal of the Rails magic comes from the ActiveRecord library which implements ORM to effectively map database tables to classes and appends CRUD functionality.

The purpose of this article is to show how to use the ActiveRecord library standalone in your own scripts.

Read more...

Posted in ,  | no comments | no trackbacks