Here is a short tip about using $(obj).val() and $(obj).attr(‘value’).
I was fixing a bug in ajax request with some params
then i found that there is a difference
val() method and
I never faced this problem before. I thought to share this with you guys.
Rails 4 is released. Lots of new features has been added to rails. Here we will see what new directories have been added.
We will create a sample app in rails 4 so that it will be easy to see the new structure. I am assuming you have updated your rails. To check current version of rails run following command:
It should be Rails 4.0.0Read on →
If you want to authenticate your user in your app with Github use omniauth-github strategy for that. Here I am describing how you can do that very quickly. OmniAuth provides list of strategies to use many OAuth for your application. Here is the List of Strategies.Read on →