
Tech Revolvers

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 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 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

“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

HTML .ERB FILE (adding image using tags) First of all we have to know the syntax of adding images in html file which is <img src=”image.jpg”/> Now using this syntax will not give us image in output To use this image first of all create a folder ( public )where app file (app.rb) is present Read more