Articles related to activerecord
What is ActiveRecord? - Ruby - About.com
ActiveRecord is what is referred to as an Object-Relational Mapping. It's responsible for mapping exactly one row in a database to one object in Ruby. Its name ...
Reddit Clone in Rails Part 2: Posts - Ruby - About.com
In this tutorial we'll use the scaffold generator to generate the Post model. We won't quite dive into the web interface yet, we'll take a look at ActiveRecord ...
Error Messages: Couldn't find without an ID - Ruby - About.com
Problem: You've encountered the error message Couldn't find Page without an ID while trying to run find on an ActiveRecord class.
Highlighting Delphi's DBGrid Row on Mouse Hover - About.com
You might think that ActiveRecord points to the currently selected record for the ... While Delphi draws data the DBGrid displays it changes the ActiveRecord to ...
A Quick Introduction to DataMapper - Ruby - About.com
If this sounds familiar then you may be thinking of ActiveRecord, the ORM library used in Ruby on Rails. If you're familiar with ActiveRecord already, picking up ...
Comments for Ruby Code - Usage, Single and Multi-Line - About.com
ActiveRecord sample in Ruby on Rails. - Public Domain. Public Domain. Comments in your Ruby code are notes and annotations meant to be read by other ...
Selecting and highlighting a row in a DBGrid - "OnMouseOverRow"
Need to highlight the row behind the mouse cursor in a DBGrid? Here's how to select (make active record) and highlight (change color, font, etc.) a row in a ...
Setting up the Model - Ruby - About.com
class Comment < ActiveRecord::Base belongs_to :post validates_presence_of : name validates_length_of :name, :within => 2..20 validates_presence_of :body
Foundation Rails 2 by Eldon Alameda - Ruby - About.com
Two full chapters devoted to ActiveRecord: Introduction ActiveRecord and Advanced ActiveRecord. Views are covered in Presenting the Views. Controllers are ...
What is Padrino? - Ruby - About.com
For example, it provides interfaces and generators for ORM libraries (like ActiveRecord and Datamapper), renderers like Haml and ERB, testing frameworks, ...