Archive for 'Ruby On Rails'

Universal Business Listing Offers Incredible Value

Universal Business Listing Offers Incredible Value

In Febraury of 2008, Netphase launched UniversalBusinessListing.org to provide a new value proposition in the area of Search Engine Optimization. The problem we were trying to address is simple: with so many avenues for your website and business information to be listed on the Internet, how do you insure consistency of information?

Netphase Launches Homeschool Apple

Netphase Launches Homeschool Apple

Netphase launched the first in what is expected to be a long line of web offerings geared towards making the lives of homeschoolers a little easier. Homeschool Apple takes the pain out of buying and selling used homeschool curriculum.

Ruby on Rails with Spring, Hibernate and JPA

Ruby on Rails with Spring, Hibernate and JPA

Scott led a session at Bar Camp extolling the virtues of running your Ruby on Rails app in a pure Java environment, accessing the same resources as your programming brethren.

AAAP Updated!

AAAP Updated!

It’s been a while since we have called attention to it, but over the course of the year, our Amazon product integration gem, acts_as_amazon_product, has been improved.
First, we got some participation from David Eisinger to help improve testing and some other critical features. Thanks, David! Recently though, we added some new functionality we had lying [...]

nested error_messages_for

I think lots of folks have run into this problem of using error_messages_for to display errors of nested or subordinate objects. The current Rails method doesn’t handle it well. In addition, there’s the problem of not being able to specify the full message. So… I tackled this problem today and came up [...]

Extending ActiveRecord with count_since

I just implemented a statistics page for an application and found that I was using this pattern over and over again:

User.count(:conditions => [’created_at > ?’, 30.days.ago])

Here’s a simple extension I made to ActiveRecord to DRY it up:

module ActiveRecord
class Base
def self.count_since(time_ago)
[...]