Joined July 2011
·
Posted to
second to fifth methods for ActiveRecord Model
over 1 year
ago
Try it on rails 4.1
Posted to
Beware of using default scope
over 1 year
ago
Ya both can have their specific default scope
Posted to
Beware of using default scope
over 1 year
ago
true
Posted to
CoffeeScript console on Chrome
over 1 year
ago
@titas Ya . i was talking for the same. why not coffeeconsole. its good to use
Posted to
CoffeeScript console on Chrome
over 1 year
ago
why not chrome add on "CoffeeConsole"
Posted to
Use UrlHelper in rails console
over 1 year
ago
i tried it with Rails 3.2.11 . Its throwing error
NoMethodError: undefined method `url_for' for nil:NilClass
Posted to
git mergetool -t vimdiff to resolved conflicts in vim mode
over 1 year
ago
git mergetool -t
when you hit tab you will find options like meld,gvimdiff and opendiff etc
Posted to
Use an alt image for img HTML tags
over 1 year
ago
What to do.I can't see the code
Achievements
774 Karma
47,930 Total ProTip Views
Altruist
Increase developer well-being by sharing at least 20 open source projects
Raven
Have at least one original repo where some form of shell script is the dominant language
Forked
Have a project valued enough to be forked by someone else
Kona
Have at least one original repo where CoffeeScript is the dominant language
Komodo Dragon
Have at least one original repo where Java is the dominant language
Walrus
The walrus is no stranger to variety. Use at least 4 different languages throughout all your repos
Mongoose 3
Have at least three original repos where Ruby is the dominant language
Charity
Fork and commit to someone's open source project in need
Mongoose
Have at least one original repo where Ruby is the dominant language
Thats right. It check object is not new and not destroyed