Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
5 little-known Rails methods
(
railspikes.com
)
16 points
by
kyro
on April 25, 2008
|
hide
|
past
|
favorite
|
2 comments
zealog
on April 27, 2008
|
next
[–]
I knew that I could do something like [:admin, @record] and the path would know where to go, but I didn't know I could do something like an edit path with edit_polymorphic_path[:admin,@record]. Very handy indeed.
rantfoil
on April 25, 2008
|
prev
[–]
Wow, the "debug" function alone is so brain dead useful. I can't believe how I lived without it.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: