Blogs about: Activerecord

Featured Blog

ActiveRecord#save returns false but there are no errors1 comment

artinboghosian wrote 6 days ago: This is probably caused by a callback returning false. Any callbacks in the ActiveRecord callback ch … more →

Tags: Programming, Ruby on Rails

Rails Cheat Sheet: ActiveRecord Callbacks

whoisob wrote 1 week ago: Callbacks are hooks into the life cycle of an Active Record object that allow you to trigger logic b … more →

Tags: Rails Cheat Sheet, Ruby, rails 3, cheat sheet, Active record pattern, Callback, Filter

Rails Cheat Sheet: Named Scopes

whoisob wrote 1 week ago: Rails 3 allows you to define queries with named scopes, examples below. scope :all_lazy, select( … more →

Tags: Rails Cheat Sheet, Ruby, SQL, rails 3, cheat sheet, Active record pattern

Rails Cheat Sheet: AcitveRecord Validation Helpers

whoisob wrote 1 week ago: Active Record offers many pre-defined validation helpers that you can use directly inside your class … more →

Tags: Rails Cheat Sheet, Ruby, validation, SQL, rails 3, cheat sheet, Active record pattern, Data Validation, user interface

Rails Cheat Sheet: ActiveRecord migrations

whoisob wrote 1 week ago: Active Record provides the following methods that perform common data definition tasks in a database … more →

Tags: Rails Cheat Sheet, change, migration, rails 3, Ruby

Rails Cheat Sheet: ActiveRecord Supported Database Types

whoisob wrote 1 week ago: Active Record supports the following database column types binary boolean date datetime decimal floa … more →

Tags: Rails Cheat Sheet, timestamp, Integer (computer science), SQL, Boolean data type, decimal, null, floating point, Varchar

dealing with concerns

amolpujari wrote 1 month ago: Taking care of concerns, my views are They are meant not to have large/GOD classes They are not spec … more →

Tags: ActiveSupport, Concerns, Modular, rails, Ruby

ActiveRecord Relations are not Arrays

bappelt wrote 1 month ago: If you use Ruby on Rails at all, you deal with ActiveRecord regularly and may not even be aware of h … more →

Tags: Ruby, RoR

How to automate whodidit behaviour and timestamps in yii ActiveRecord model?

Thangaraj Mariappan wrote 2 months ago: To automate whodidit and timestamps in yii activerecord model using beforesave() method. If the rule … more →

Tags: Linux, php, ubuntu, Windows, Yii

How to automate whodidit behaviour and timestamps in yii ActiveRecord model?1 comment

Thangaraj Mariappan wrote 2 months ago: To automate whodidit and timestamps in yii activerecord model using beforesave() method. If the rule … more →

Tags: php, Linux, ubuntu, Windows, Yii

How to automate timestamps in activerecord using yii

Thangaraj Mariappan wrote 2 months ago: There are many ways to automate the setting of timestamps in yii ActiveRecord models. In this we are … more →

Tags: Linux, php, ubuntu, Windows, Yii

How to automate timestamps in activerecord using yii

Thangaraj Mariappan wrote 2 months ago: There are many ways to automate the setting of timestamps in yii ActiveRecord models. In this we are … more →

Tags: php, Linux, ubuntu, Windows, Yii

Ordering Query Results by Count

admin wrote 2 months ago: I had two models Article and Comment where I wanted to find out which articles had the most comments … more →

Tags: Order, count

Considering Subcontracting For Ruby On Rails Consider The Following

namtek wrote 2 months ago: Considering Subcontracting For Ruby On Rails Consider The Following Java, Ruby on Rails, Perl, PHP, … more →

Tags: .NET, Architect, Architects, C#, C Software Engineer, cloud, cloud security, CSS, development

using merge in active record queries

gaganawhad wrote 2 months ago: I was really helped by these couple resources that talk about merging scopes in different classes. h … more →

Tags: Uncategorized

Learning Objectives & Progress

bean wrote 3 months ago: Learning How to be a Better Developer I see myself as a decent-ish software developer. I am great at … more →

Tags: Progress & Self Evaluation, Learning, Agile, Test First Design, inversion of control, IoC, dependency injection, Castle Windsor, NHibernate

MVC Design Pattern in PHP

Micah Little wrote 3 months ago: What is the MVC design pattern? MVC or Model-View-Controller is a design pattern based on one entry … more →

Tags: php, PHP 2, mvc, Framework, model, View, controller, Active, Record

Preparing MySQL for millions of users4 comments

Shai Wininger wrote 3 months ago: (This post is a part of a series. See original) As the world’s largest marketplace for small s … more →

Tags: MySQL Databases, startups, technology, Web Scaleability, Configuration, Data integrity, database.yml, db connection, Deploy

HOWTO: Add postgres to a wheelhousecms app

unixsuperhero wrote 3 months ago: In your config/application.rb: # below all the other require ".../railtie" lines add: require "activ … more →

Tags: active_record, CMS, Gems, Hack, mongodb, PG, Postgres, PostgreSQL, rails


Related Tags
All →

Follow this tag via RSS