
Create the rails application with rails new, selecting the database equals postscripts sequel to mirror production. Run rake db:create and verify the app by opening the browser to port 3000.
Explore the Rails app structure, focusing on the app directory and its models, views, controllers, assets, helpers, and mailers, plus databases, migrations, seeds, lib, and gem management.
Set up a Rails scaffold for posts with a model, views, and controller, including title, image URL, and description, using a CDN and migrations to create posts with timestamps.
Explore the Rails console for the photo blog app: create, read, update, and delete posts, use variables and dot notation, and preview validations to prevent empty records.
Enforce data integrity in your photo blog by adding validations, such as presence checks for title, image, and description, and test via the Rails console.
Set up the homepage by configuring routes in config/routes.rb, mapping root to posts#index, and explore how the posts controller's index action serves the home page in a Rails photo blog.
Learn to integrate image management in a Rails app by adding carrier wave, mini magick, fog, figaro, and the Unicode normalization form support, connect to AWS, and protect environment variables.
Create a CarrierWave photo uploader with the generator, inspect the default uploader, and compare local file storage with AWS and CDN options for caching, performance, and security.
Configure a photo uploader in ruby on rails using carrierwave and mini_magick, switch storage to fog for remote awos, and set resize variants like tiny and profile with a waitlist.
Mount the photo uploader on the image attribute in the model to wire CarrierWave into the database as a string; keep the uploader class in the uploader directory.
Learn to securely manage API keys and environment variables with the Figaro gem, install it, generate config/application.yml, and use environment-specific blocks for development and production.
Learn to create aws s3 buckets as a cdn for a photo blog by generating access keys, setting up development and production buckets, and preparing api access with fog.
Integrate an AWS API connection with Fog in a Ruby on Rails photo blog by creating an initializer, configuring Fog credentials, and setting a private bucket.
Add a file upload field to the post form by switching to f.file_field and uploading an image; verify the server response and AWS S3-hosted image URL.
Learn to render images from the server by using image_tag with post.image and profile_size to produce a 500 by 500 image, inspect post data to understand carrier wave, CDN, AWS.
Learn how to upload images, render thumbnails, and display photo posts on the homepage in a Rails app, including switching from table layout to a clean image-based blog.
Learn how to make images clickable in a Ruby on Rails photo blog by wrapping images in a link tag with embedded Ruby linking to each post show page.
Learn to install and configure rspec for a Ruby on Rails photo blog, add rspec-rails to the gemfile, then run bundle install and begin tests.
Create a user model with name, email, and password, run migrations, and verify with rails console to lay groundwork for tests and relationships with photo blog posts.
Practice test-driven development by creating and validating a user model with RSpec tests. See red-green-refactor workflow through validations for email and password.
Apply length validations to cap names at 50 characters, drive Rails app development with rspec tests, and run specs in documentation format to reveal creation, validation, and integration behavior.
In this intermediate Ruby on Rails development course you will learn how to create a rails application from scratch and implement all of the code necessary for creating a photo uploading feature for a blog. This includes: creating and scaffolding the rails application with full CRUD functionality, building out the upload configuration files and dynamic sizing methods, connecting to the Amazon S3 CDN server for both uploading and downloading files for the application, building out the view files in the application to render the images, and much more. At the end I've also included an introduction to RSpec testing and how to integrate it into the application.
The frameworks, systems, and libraries you will learn how to use in this course are: