Category Rails

Rails 1st Lecture

Rails Lecture I – July 2 How the web works: -the requests we send to other servers have headers with info about the request -you get the response with a header and the body -the body is just text and data with HTML -the communication happens over TCP/IP, namely HTTP – the browser renders the […]

Stack Level Too Deep Error

This error generally happens when you accidentally recursively changing an attribute. If you have a username attribute in User model, and a virtual attribute named username, that is directly changing the username, you end up calling the virtual, the virtual calls the virtual again and so on.. Therefore, take a look on whether something like […]