RSpec Let Vs Before

In RSpec, there are two different ways to write DRY tests, by using before or let . Their purpose is to create variables that are common across tests. In this post, we will expl...

2018/02/07 22:44
4
Rails Scaffold

Scaffolding in Ruby on Rails refers to the auto-generation of a set of a model, views and a controller usually used for a single database table. For example, you can auto-genera...

2018/02/07 20:14
7
Rspec Let vs Before

In RSpec, there are two different ways to write DRY tests, by using before or let. Their purpose is to create variables that are common across tests. In this post, we will explo...

2018/02/07 17:06
2
Rails redirect_to

Rails redirect_to takes two parameters, option and response_status (optional). It redirects the browser to the target specified in options. This parameter can be: Hash - The URL...

2018/02/06 23:07
53
Rails creating modals

Instead of writing a JavaScript application for working remote modals in your Rails application, it is a much more simple approach to render our views on a server and display th...

2018/02/05 20:40
1
Rails join table: Ultimate tutorial

This will a complete tutorial for creating join table in Ruby on Rails. It will show you how to generate the model, address associations and join table model. Also, it will show...

2018/01/29 18:11
5
Problem Solved: Navigation on Scroll

A challenge we recently faced was that we needed to create a navigation that shows only when scrolling up. How did we solve it? Well, firstly, the HTML for the form was created....

Debugging with Git

When you are working on a huge project, you may discover bugs in the code that prevent you from proceeding any further in your development. How to fix them? Thank you, Git has m...

2018/06/18 17:20
15
Tutorial for Tagging Releases in Git

Tags are a simple aspect of Git, they allow you to identify specific release versions of your code. You can think of a tag as a branch that doesn't change. Once it is created, i...

2018/06/11 16:23
0

没有更多内容

加载失败,请刷新页面