Birds-Eye.Net
All things broadband and more...
 
Web Birds-Eye.Net

What's New?

Ruby on Rails (RoR)
Programming Reference


Models
External database connections
Passing current_user into model
Passing object into model
Using static lookup tables
Validates IF
Validates MongoMapper

Views
Dynamically delete form element
Edit create nested data
HTML form field check_box
Layout jQuery datatable module
Select array
Select cascading via JS
Text_area Array
Text_area listing submit
Text field format time

Controllers
Dynamic model selection
Including first item from a sorted desc table
Using from_unixtime on epoch dates
Custom SQL Query Examples

Rack
Integrated NTLM/Kerberos Authentication
Pass-through Authentication w/ NTLM

ActionMailer
Broken links in emails

Rails General
Add, Subtract, Multiply, and Divide
Calculate number of weekdays for date range
Date->Epoch & Epoch->Date
Calculate past/present payroll dates
Extract first letter of each word
Hash of hashes assignment
Using: variable as hash index

jQuery
jQuery accordion MongoDB

Rails Framework Examples

Apotomo Widget Using Erb

MySQL
Converting Julian Dates to Epoch

d3 Charting
Configuration to Work with Rails Apps
A simple bar chart example

Other
Setup VPN on iMac
SSH Key Generation

More to come

 

Intuitive Guide to Ruby on Rails (RoR)
A Solutions-focused approach to providing Ruby on Rails programming resources!

Having programmed in many different languages, making the leap to Ruby on Rails is not for the weak hearted. The switch entails many less than obvious nuances and the associated documentation of rails is quite light. To the point where, much of the time required to make the switch is spent figuring out just how to do certain tasks which unfortunately are unique to Rails.

Ultimately, there is a fairly substantial time savings in writing RoR applications over using more convention methods and languages such as PHP or other rapid development frameworks. This site represents my gradual learning of the RoR language as best I can recollect each individual accomplishment or "ah ha" moment along the way. The goal of this content is to provide beginners with the basic resource they need to more smoothly make the switch. Also, since much of the documentation of Rails provides only references to previous versions which are NOT compatible with the latest direction of RoR, this site serves a secondary purpose for more advanced users to serve as a reference for those nuances they often forget.

Because the site is also solutions focused, within these pages I try to provide all the details you need to quickly and painlessly implement these solutions so you can spend more time customizing them for your own needs rather than doing what I had to do which was learn the hard way - through combing the Internet for breadcrumbs of knowledge that I had to piece together to get it all tow work. Enjoy, and please send send me comments or complaints!

Can Birds-Eye.Net help you or your Company?
Receive your Birds-Eye.Net articles and white papers hot off the presses by adding our RSS feed to your reader.

 

(C) Copyright Birds-Eye.Net, All rights reserved.
It is against the law to reproduce this content or any portion of it in any form without the explicit written permission of Birds-Eye Network Services, LLC. Federal copyright law (17 USC 504) makes it illegal, punishable with fines up to $100,000 per violation plus attorney's fees.