Training: Ruby on Rails 4.2

Gegevens
In deze Ruby on Rails training / cursus leert u de basis en de belangrijkste geavanceerde functionaliteiten van Ruby on Rails 4.2 kennen. Zo leert u de Rails omgeving kennen waarin routing en de ActionController naar voren komen. Vervolgens maakt u kennis met de models en views binnen Ruby en komen de wat meer geavanceerde functionaliteiten zoals de Action Mailer en het uitvoeren van testen en debugging. Aan het einde van de cursus komt het maken van API's nog aan bod.
Onderwerpen die aan bod komen zijn de Rails omgeving, secrets.yml, has_one, has_many, belongs_to, .select & .pluck methodes, de Rails view helper, Pundit, Russian Doll caching, Factory Girl, rails-api en nog veel meer.
Resultaat
Na het volgen van deze cursus bent u bekend met de basis en de belangrijkste geavanceerde functionaliteiten van Ruby on Rails 4.2.
Voorkennis
Voor het volgen van deze cursus is geen voorkennis vereist. Het is een pré wanneer u basiskennis van programmeren heeft.
Doelgroep
Softwareontwikkelaar, Webontwikkelaar
Inhoud
Ruby on Rails 4.2
Introduction to Rails
- start the course
- describe Rails
- set up the Rails environment
- create a new project
- recall how to change different settings
- describe where the secrets.yml file is found and what it contains
- describe how to use the bundler
- create a new Logger and describe how the Rails.logger method is used
- generate a basic scaffold
- describe the scaffold
- describe what the routes.rb file is and how it is used
- describe how to use a singular resource route
- create nested resource routes
- create shallow resource routes
- create static pages
- describe what migrations are and how they are used
- create and sequence a migration
- perform and roll back a migration
- recall what some of the migration and database constraints are
- recall how to edit the seeds.rb file
- describe the controller actions INDEX, NEW, and CREATE
- describe the member actions SHOW, EDIT, UPDATE, and DESTROY
- use respond_to to render JSON and XML
- use the ActionController::Live module
- use action callbacks
- use variants to render different templates based on some criteria
- generate a basic scaffold and create shallow routes
Introduction to Models
- start the course
- describe the basics of how ActiveRecord works
- use has_one, has_many, and belongs_to associations
- use the :through association
- make one class belongs_to more than one type of another class
- use virtual attributes
- persist data into multiple models
- describe Hstore and how it is used
- perform model validation
- use conditional validation
- use custom validators in models
- use custom validators in classes
- compare using the errors[ ] with the invalid? method
- recall what methods do not invoke validations
- protect against attacks by controlling mass-assignment attributes
- use .where and .find
- execute a raw SQL query
- compare the .select and .pluck methods
- use different finder methods to retrieve objects from the database
- define and chain query criteria
- chain scopes with lambdas
- load all the specified associations with the minimum number of queries
- use active model
- recall how to use modules to share functionality between disparate model classes
- use conditional callbacks
- use transaction callbacks
- use ActiveRecord to model data
Introduction to Views
- start the course
- use rendering and layouts
- use partials to break up the render process into modular chunks
- use FormHelper to provide a set of methods for working with HTML forms
- describe how Rails uses the flash object to display errors
- use CsrfHelper to output meta tags with the name of the cross-site request forgery protection parameter and token
- use UrlHelper to make links and get URLs that depend on the routing subsystem
- use the Rails view helper
- write custom helpers
- use formatting view helpers
- set up Rails for Internationalization
- use the session hash to store and access data and read and write cookies
- install devise
- configure devise
- install Pundit
- configure Pundit
- describe how the asset pipeline looks for assets to include
- code links to assets
- use fingerprinting and minification
- use CDNs to improve performance
- describe how server-generated JavaScript works with Rails
- use Turbolinks to attach a click handler to all links of an HTML page
- use fragment caching
- implement collection caching and cache keys
- use Russian Doll caching
- create initializers inside of gems
- create custom rake tasks
- use different elements within views and sessions
Advanced Rails
- start the course
- use Sidekiq to create an ActiveJob
- use Sidekiq to handle queue management of ActiveJobs
- add exception handling on queues
- create and configure a mailer
- use mailer views and templates
- implement the mail call in controller
- customize the mailer
- use different tools to debug Rails applications
- configure RSpec
- run tests
- use Factory Girl
- unit test models
- use RSpec mocking and stubbing facilities
- test validations
- use matchers to work with classes that implement module Enumerable
- write functional controller tests
- test views
- test helpers
- test integrations
- use shared_examples
- write tests for active jobs
- test mailers
- use VCR to record HTTP integrations
- use guard to automatically run tests
- generate performance tests
- create tests for a user model
Examining Rails APIs
- start the course
- create an API application
- add rails-api to an existing project
- use Postman to test results
- work with endpoints for INDEX and CREATE
- work with endpoint for SHOW, UPDATE, and DESTROY
- render JSON manually
- render JSON with active_model_serializers
- use versioning
- generate access tokens for authentication
- use SessionsController for issuing and validating access tokens
- use the authenticate_or_request_with_http_token method
- perform authentication with Devise
- set up Apipie Gem
- document resources and actions using Apipie
- customize validators for Apipie
- use RDoc for documentation
- use Rack::Test to test HTTP response codes
- work with log directories
- implement Unicorn as a web server
- use Kaminari for pagination
- create search forms with Ransack
- describe the basics of elasticsearch
- manipulate CSV files
- use rjb to connect Ruby with Java
- customize error pages
- put search on an API endpoint
Opties bij cursus
Wij bieden, naast de training, in sommige gevallen ook diverse extra leermiddelen aan. Wanneer u zich gaat voorbereiden op een officieel examen dan raden wij aan om ook de extra leermiddelen te gebruiken die beschikbaar zijn bij deze training. Het kan voorkomen dat bij sommige cursussen alleen een examentraining en/of LiveLab beschikbaar is.
Examentraining (proefexamens)
In aanvulling op deze training kunt u een speciale examentraining aanschaffen. De examentraining bevat verschillende proefexamens die het echte examen dicht benaderen. Zowel qua vorm als qua inhoud. Dit is de ultieme manier om te testen of u klaar bent voor het examen.
LiveLab
Als extra mogelijkheid bij deze training kunt u een LiveLab toevoegen. U voert de opdrachten uit op de echte hardware en/of software die van toepassing zijn op uw Lab. De LiveLabs worden volledig door ons gehost in de cloud. U heeft zelf dus alleen een browser nodig om gebruik te maken van de LiveLabs. In de LiveLab omgeving vindt u de opdrachten waarmee u direct kunt starten. De labomgevingen bestaan uit complete netwerken met bijvoorbeeld clients, servers, routers etc. Dit is de ultieme manier om uitgebreide praktijkervaring op te doen.
Inloggen
Waarom Icttrainingen.nl?
Via ons opleidingsconcept bespaar je tot 80% op trainingen
Start met leren wanneer je wilt. Je bepaalt zelf het gewenste tempo
Spar met medecursisten en profileer je als autoriteit in je vakgebied.
Ontvang na succesvolle afronding van je cursus het certificaat van deelname van Icttrainingen.nl
Krijg inzicht in uitgebreide voortgangsinformatie van jezelf of je medewerkers
Kennis opdoen met interactieve e-learning en uitgebreide praktijkopdrachten door gecertificeerde docenten
Bestelproces
Zodra wij uw order en betaling hebben verwerkt, zetten wij uw trainingen klaar en kunt u aan de slag. Heeft u toch nog vragen over ons orderproces kunt u onderstaande button raadplegen.
Een zakelijk account aanmaken
Wanneer je bestelt namens je bedrijf doe je er goed aan om aan zakelijk account bij ons aan te maken. Tijdens het registratieproces kan je hiervoor kiezen. Je hebt vervolgens de mogelijkheden om de bedrijfsgegevens in te voeren, PO-nummer & referentie en een afwijkend factuuradres toe te voegen.
Betaalmogelijkheden
Je hebt bij ons diverse betaalmogelijkheden. Bij alle betaalopties ontvang je sowieso een factuur na de bestelling. Gaat je werkgever betalen, dan kies je voor betaling per factuur.

Cursisten aanmaken
Als je een zakelijk account hebt aangemaakt dan heb je de optie om cursisten/medewerkers aan te maken onder je account. Als je dus meerdere trainingen koopt, kan je cursisten aanmaken en de cursussen vervolgens uitdelen aan je collega’s. De cursisten krijgen een e-mail met inloggegevens en dat zij kunnen starten met de cursus.
Voortgangsinformatie
Met een zakelijk account ben je automatisch beheerder van je organisatie en kan je naast cursisten ook managers aanmaken. Beheerders en managers kunnen tevens voortgang inzien van alle cursisten binnen de organisatie.
Wat is inbegrepen?
Certificaat van deelname | ja |
Voortgangsbewaking | ja |
Award Winning E-learning | ja |
Geschikt voor mobiel | ja |
Kennis delen | Onbeperkte toegang tot onze community met IT professionals |
Studieadvies | Onze consultants zijn beschikbaar om je te voorzien van studieadvies |
Studiemateriaal | Gecertificeerde docenten met uitgebreide kennis over de onderwerpen |
Service | Service via chat, telefoon, e-mail (razendsnel) |
Platform
Na bestelling van je training krijg je toegang tot ons innovatieve leerplatform. Hier vind je al je gekochte (of gevolgde) trainingen, kan je eventueel cursisten aanmaken en krijg je toegang tot uitgebreide voortgangsinformatie.

FAQ
- Op welke manieren kan ik betalen?
- Hoe werkt het bestelproces?
- Kan ik persoonlijke begeleiding krijgen bij mijn training?
Niet gevonden wat je zocht? Bekijk alle vragen of neem contact op.