• Adding time at which tweet or any text created in rails

    Adding time at which tweet or any text created in rails

    Adding time at which tweet or any text created in rails So, for adding time use the above code if tweet or text was added before 24 hours then it will display as 2 hours ago or 4 hours ago and if more than a day time then it will display date.   <% if Read more

  • Link_to tag color change

    Link_to tag color change

    LINK _TO tag color   Working on rails is quite different. The link_to tag is used to give links to texts on rails. To change its color, just add a line style: ” color: color_name” refer the image above for more clearity.   Read more

  • RAILS adding image through .scss file

    RAILS adding image through .scss file

    RAILS adding image through home.scss file or any .scss file   For working on .scss file we have to take care of how to add an image though this file. So first of all we have to use simple background-image tag background-image: url(‘your image url’); now add these lines , -webkit-background-size: cover; -moz-background-size: cover; -o-background-size: Read more

  • NameError in Devise::RegistrationController#create

    NameError in Devise::RegistrationController#create

    NameError in Devise::RegistrationController#create If you get this kind of error while using Devise in your rails project, you have landed to right place. Let us first know why we got this error. This error indicates that you have not correctly fixed the permissions on devise. IS THE USER MARKED CONFIRMABLE???? Now we directly jump to Read more

  • SHOWING OFF ASSETS

    SHOWING OFF ASSETS

    “Sometimes glass glitters more than diamonds because it has more to prove.” SHOWING OFF TREND These days the status is being more important to people than anything. The trend of showing off in lifestyle, marriages are so common. DOGS – Dogs have attracted the society towards them. Some people say they are the best baby Read more

  • WHAT IS GST? THE CONCLUSION

    WHAT IS GST? THE CONCLUSION

    GST to apply from 30 June 2017 midnight The new era of taxation As GST is going to be imposed , so it is the final time to know WHAT IS GST ALL ABOUT? The goods and services tax (GST) regime is going to be kicked in with Narendra Modi style. A special session of Parliament, all Read more

Advertisements