Custom Scaffold for Rails

Code, Ruby on Rails 19 Comments »
Ruby on Rails Custom ScaffoldingIt has been said so many times that scaffold generator is only useful for learning how Rails works and maybe for rapid prototyping and I certainly agree. But scaffold is one of the big things that really excited me when I first discovered Rails. Why is Scaffold Generated Code Useless? Actually I think the stubbed out functions in the controller as well as most of the views are already a great time saver but its really the generated list and show code that is useless:

 

[source:ruby] [/source] Iterating over columns means that I can do nothing but rip this out and explicitly write out each column so I can then change the look and feel to be consistent with my app. Also, what if I want to use div's instead of tables? Rip it apart.

Best Ruby on Rails Hosting

Hosting, Ruby on Rails 4 Comments »
For the Ruby on Rails apps we are currently building we definitely want to host on beefy dedicated servers but I've recently started rebuilding raleigh list in Rails and while this site does a decent amount of traffic it doesn't justify the time and money to setup a dedicated ...

Better Search Engine Friendly URL’s with Ruby on Rails

Ruby on Rails, Search Engine Optimization 8 Comments »
In my last post about SEO and RoR I gave really BAD advice on how to accomplish clean URL's that are search engine friendly. Our first RoR project consists of pages that are nearly 100% unspiderable by the search engine bots because its an app that requires login to do anything so I hadn't really sat down and worked out the proper way to do URLs.

SEO for Ruby on Rails

Ruby on Rails, Search Engine Optimization 13 Comments »
3000 is the new 8080Now that the NotSleepy camp is actively switching to mostly Rails development for our web apps I've been exploring how to accomplish the typical onpage stuff commonly needed with PHP and JSP to get Googlebot and Slurp to snuggle up all cozy with your site. The following tips are just a way to use Rails to accomplish common tasks you should be comfortable with in your current choice of web app/language.

Ruby on Rails Scalability - Is it a Problem?

Ruby on Rails 6 Comments »
Nick Wilson caught my eye on his new podcasting blog communicontent.com when he stated/asked "Ruby on Rails doesn't scale?". Its no secret that we've been shifting the NotSleepy shop from a PHP on the front, Java on the back setup to Ruby on Rails for the past few months. In fact we started a new RoR training side business with David Black, and have been building a new suite of tools from scratch in Rails. The experience has been nothing short of revolutionary for me and has been more liberating than switching from briefs to boxers in my teens. So when someone claims I'm not going to be able to scale this thing I felt my heart sink.
WP Theme & Icons by N.Design Studio
Entries RSS Comments RSS Login