Unit Testing Models
Rails generates a test infrastructure for you already. If you look at the file tree you will see a whole directory for tests. Inside will be a subdirectory just for your models. That subdirectory w...
Rails generates a test infrastructure for you already. If you look at the file tree you will see a whole directory for tests. Inside will be a subdirectory just for your models. That subdirectory w...
What they are In the world of testing, a fixture is a specific environment in which you can run a test. In the world of Rails, a test fixture is a specification of the initial contents of a model (...
MacOS usually ships with Ruby already, albeit older versions of Ruby. You’ll need to download a newer version of Ruby. Easiest way to do this would be to use Homebrew. Installing Homebrew Refer to...
Prerequisites for running Rails A Ruby interpreter (Rails 8 will run on Ruby versions 3.2, 3.3, and 3.4. Won’t work with older versions). Ruby on Rails (the book I’m reading uses Rails version...
Open the terminal. Run the code below: $ /bin/bash -c "$(curl -fsSL \ https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" Complete the steps the terminal will pro...
A web-based shopping cart application, created using Ruby on Rails, that illustrates many of the features in Rails.
Two dimensional game based on Missile Command, with a bee theme. Written in Java, with the JavaFX library.
Someone told me that Coursera had a seven day free-trial, so I wanted to try it out.
Two dimensional game based on Space Invaders, with a bee theme. Written in Python, with the TKinter library.