13 Apr '16, 12am

Recover Data from Production Backups with ActiveRecord

What follows is a story about things going wrong with production data. But don’t worry, this one has a happy ending! We’ve been working on a product which tracks interesting information about companies, pulling data from a number of different sources. Users can then interact with these company records by leaving notes, following them, and updating their financials. The data model, then, looks like this: class Company < ActiveRecord::Base has_many :financials has_many :followed_companies has_many :followers, through: :followed_companies, source: :user has_many :notes end class Financial < ActiveRecord::Base belongs_to :company end class FollowedCompany < ActiveRecord::Base belongs_to :company belongs_to :user end class Note < ActiveRecord::Base belongs_to :company end Note and FollowedCompany records are created based on user interactions, while Company and Financial record...

Full article: https://robots.thoughtbot.com/recover-data-from-productio...

Tweets

#Insert data into database from controller Ruby...

abizy.com 17 Apr '16, 3am

We do not share, store or cache any illegal files on this blog. We only share digital contents those are licensed under “C...

Nissan Kicks – teaser of production model released https://t.co/upuzGBOq51

Nissan Kicks – teaser of production model relea...

paultan.org 13 Apr '16, 4am

The Kicks concept is basically an evolution of the Nissan Extrem Concept vehicle, which debuted at the Sao Paulo Auto Show...

Using 3D Printing in the Mass Production of Consumer Electronics

Using 3D Printing in the Mass Production of Con...

designnews.com 12 Apr '16, 8am

This is the first time anyone has used 3D printing in the mass production of consumer electronics, said Vartanian, and we ...

Rails 5 allows directing logs to STDOUT in prod...

rubyflow.com 12 Apr '16, 7pm

× The Ruby and Rails community linklog Made a library? Written a blog post? Found a useful tutorial? Share it with the Rub...

Google: Recover From A Manual Action? You Still...

seroundtable.com 20 Apr '16, 11am

In the Google Hangout this past Friday on Google+ with John Mueller, John discussed how manual actions and algorithmic pen...

Why mobile-originated data matters

luxurydaily.com 15 Apr '16, 6am

Tom Desaulniers is cofounder and president of Go2Mobi By Tom Desaulniers According to eMarketer, within the next year, Uni...

Here’s the Proposal to Study Restarting the F-22 Production Line https://t.co/w5A6VNMWla

Here’s the Proposal to Study Restarting the F-2...

dodbuzz.com 19 Apr '16, 9pm

F-22 production restart assessment The committee notes that production of the F-22 fifth-generation tactical aircraft conc...

American Apparel may start outsourcing some of their production

American Apparel may start outsourcing some of ...

inhabitat.com 16 Apr '16, 6pm

American Apparel may soon be no-so-American Apparel. After losing founder Doy Charney, store closures, bankruptcy filings ...

How Satellites and Big Data Can Help to Save the Oceans

How Satellites and Big Data Can Help to Save th...

e360.yale.edu 13 Apr '16, 4pm

How Satellites and Big Data Can Help to Save the Oceans With new marine protected areas and an emerging U.N. treaty, globa...

Iran’s oil production has already surpassed 3.5...

peakoil.com 16 Apr '16, 12pm

Allot of GW is baked in. The idea of sea level rise is not if, but when. I guess we are living with are heads in the sand....