Joined April 2013
·
Posted to
How to Hide Your ActiveAdmin Path
over 1 year
ago
The only problem here is that you lose the ability to bookmark the URL since it does in fact change every time rails is restarted. How does this work on a load balancer? If deployed to multiple servers would each instance not have its own URL?
Posted to
using belongs_to with scaffold generator to quickly create associations
over 1 year
ago
You can also use :references
Posted to
Secrets of Proc.new
over 1 year
ago
Ok, I was wrong about passing yield. You can pass it in a block my_loop { yield }
, just not as an argument. But still standing is how cool Proc.new actually can be.
Posted to
Using bitmasks to store settings
over 1 year
ago
This is great. A potential downfall is that you kind of lose the ability to query and report on those settings. "Show me users that have disabled followers" becomes a bit (ha) more difficult.
Posted to
Rebase by default when doing git pull
over 1 year
ago
Would you mind explaining the benefit of the rebase? Just to keep the commit log cleaner?
Achievements
168 Karma
5,397 Total ProTip Views
Raven
Have at least one original repo where some form of shell script is the dominant language
Nephila Komaci
Have at least one original repos where PHP is the dominant language
Nephila Komaci 3
Have at least three 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
Altruist
Increase developer well-being by sharing at least 20 open source projects
Forked
Have a project valued enough to be forked by someone else
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
You could also just use a boolean channel, which I believe to be a bit more idiomatic. http://play.golang.org/p/rGbUe7ljeh