Joined November 2012
·
Posted to
Active Admin: Propper relation names in filters
over 1 year
ago
I believe ActiveAdmin uses display_name
as the method behind the scenes, but will go through a list of possible methods to call on the object in order, such as: name
, title
, display_name
, & to_s
Posted to
Watch Star Wars - From Within Terminal...
over 1 year
ago
This is amazing.
Posted to
Instance method callback in CoffeeScript
over 1 year
ago
Ah, ok, makes sense.
Posted to
Instance method callback in CoffeeScript
over 1 year
ago
Is the only reason for the additional method, prepare_fetch_later
, to have the additional return statement? I could see re-writing this simpler as the following gist:
Posted to
Stop your headache with IE and sessions inside iframes in Rails apps
over 1 year
ago
I wrote a Facebook application back in 2010 that had this issue, although we wrote the application in Code Ignitor (PHP). I remember stumbling across the P3P headers for IE, but I can't remember if it solved our issue.
Excited to see that implementing in Rails was that simple.
Achievements
414 Karma
20,371 Total ProTip Views

Octopussy
Have a repo followed by a member of the GitHub team

Forked 50
Have a project with a thriving community of users that's been forked at least 50 times

Lemmings 100
Write something great enough to have at least 100 watchers of the project

Forked 20
Have an established project that's been forked at least 20 times

Forked
Have a project valued enough to be forked by someone else

Nephila Komaci
Have at least one original repos where PHP is the dominant language

Walrus
The walrus is no stranger to variety. Use at least 4 different languages throughout all your repos

Charity
Fork and commit to someone's open source project in need

Mongoose 3
Have at least three original repos where Ruby is the dominant language

Mongoose
Have at least one original repo where Ruby is the dominant language

Bear
Have at least one original repo where Objective-C is the dominant language
Must have removed it at some point, sorry everyone!