Author Archives: Chantal

Did you know…

when working with git, if you’ve only edited existing files and didn’t create any new ones, you can save yourself some key stokes and add and commit at once in the terminal with: git commit -a -m “[your message]”  ...
Read More

HTML5: Data Attributes

HTML5 data attributes are a great alternative to classes and rel for storing data in an html tag. Creating a Custom Attribute Data attributes can be placed inside any type of tag and needs to follow the format of data-[desired_attribute]=”[value]” requiring at least one character following the dash.  Let’s look at an example: Let’s say you...
Read More

Test Driven Development (TDD) – Part 2 – Integration Testing

Now that your RSpec environment is all set up, it’s time to start writing some actual tests.  Let’s start with integrations tests, which tests how different components (models, controllers etc.) interact with one another. Create the Integration Folder To start, make future you and any team members really happy by creating an integration folder, within...
Read More