You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if there are many STI child classes, ActiveRecord generates methods for each one individually. This is wasteful in the typical case, since all the children share the same underlying columns.
The small patch included here causes those methods to instead be generated in the parent class, shared amongst all the subclasses.
DO NOT use this if you call methods like attribute :foo to adjust the typecasting of columns in individual models.
Google Analytics' Reporting API (v3) is returning 403s, help!
Why is Google Analytics giving me 403s?
If you find this via a Google search, it's because you're seeing a 403 error in response to a Google Analytics data.get API call. You've gone through the 18 steps necessary to register a Google app, enable the Analytics API, generate a client ID as a service account, download a p12 certificate, authorize the service account email from the Google Analytics admin page, download a Google Client library in your programming language of choice, and you've finally just written a bit of code which calls the Google API for Google Analytics.
However, something is amiss! Because every request is returning the vague—and seemingly inaccurate—message, "User does not have sufficient permissions for this profile".
"But I just set all that up!", one might exclaim. And truly, there seems to be no explanation for why every call is failing. After all, you entered in your Google Analytics account ID for that API call. It's the account ID you see plastered throughout the Goog
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Unfortunately, the Cisco AnyConnect client for Mac conflicts with Pow. And by "conflicts", I mean it causes a grey-screen-of-death kernel panic anytime you connect to the VPN and Pow is installed.
As an alternative, there is OpenConnect, a command-line client for Cisco's AnyConnect SSL VPN.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters