Skip to main content

index

docs/
โ””โ”€โ”€ tutorials/
โ””โ”€โ”€ ruby-on-rails/
โ”œโ”€โ”€ index.mdx
โ”œโ”€โ”€ 01-introduction/
โ”‚ โ”œโ”€โ”€ what-is-rails.mdx
โ”‚ โ”œโ”€โ”€ why-use-rails.mdx
โ”‚ โ”œโ”€โ”€ rails-vs-other-frameworks.mdx
โ”‚ โ”œโ”€โ”€ convention-over-configuration.mdx
โ”‚ โ”œโ”€โ”€ mvc-architecture.mdx
โ”‚ โ””โ”€โ”€ rails-application-lifecycle.mdx
โ”œโ”€โ”€ 02-setup-and-installation/
โ”‚ โ”œโ”€โ”€ ruby-prerequisites.mdx
โ”‚ โ”œโ”€โ”€ install-ruby.mdx
โ”‚ โ”œโ”€โ”€ install-rails.mdx
โ”‚ โ”œโ”€โ”€ install-database.mdx
โ”‚ โ”œโ”€โ”€ setup-development-environment.mdx
โ”‚ โ”œโ”€โ”€ rails-command-line.mdx
โ”‚ โ””โ”€โ”€ create-first-rails-app.mdx
โ”œโ”€โ”€ 03-rails-project-structure/
โ”‚ โ”œโ”€โ”€ project-directory-overview.mdx
โ”‚ โ”œโ”€โ”€ app-directory.mdx
โ”‚ โ”œโ”€โ”€ config-directory.mdx
โ”‚ โ”œโ”€โ”€ db-directory.mdx
โ”‚ โ”œโ”€โ”€ lib-and-public-directories.mdx
โ”‚ โ”œโ”€โ”€ environment-configuration.mdx
โ”‚ โ””โ”€โ”€ application-boot-process.mdx
โ”œโ”€โ”€ 04-routing-and-controllers/
โ”‚ โ”œโ”€โ”€ routing-fundamentals.mdx
โ”‚ โ”œโ”€โ”€ routes-file.mdx
โ”‚ โ”œโ”€โ”€ resourceful-routing.mdx
โ”‚ โ”œโ”€โ”€ nested-resources.mdx
โ”‚ โ”œโ”€โ”€ controller-fundamentals.mdx
โ”‚ โ”œโ”€โ”€ actions-and-responses.mdx
โ”‚ โ”œโ”€โ”€ strong-parameters.mdx
โ”‚ โ”œโ”€โ”€ redirects-and-rendering.mdx
โ”‚ โ””โ”€โ”€ error-pages-and-status-codes.mdx
โ”œโ”€โ”€ 05-views-and-templates/
โ”‚ โ”œโ”€โ”€ view-fundamentals.mdx
โ”‚ โ”œโ”€โ”€ erb-templates.mdx
โ”‚ โ”œโ”€โ”€ layouts-and-yield.mdx
โ”‚ โ”œโ”€โ”€ partials.mdx
โ”‚ โ”œโ”€โ”€ view-helpers.mdx
โ”‚ โ”œโ”€โ”€ forms-and-form-helpers.mdx
โ”‚ โ”œโ”€โ”€ form-validation-errors.mdx
โ”‚ โ””โ”€โ”€ html-escaping-and-safe-output.mdx
โ”œโ”€โ”€ 06-active-record-and-databases/
โ”‚ โ”œโ”€โ”€ active-record-introduction.mdx
โ”‚ โ”œโ”€โ”€ database-configuration.mdx
โ”‚ โ”œโ”€โ”€ models-and-conventions.mdx
โ”‚ โ”œโ”€โ”€ migrations.mdx
โ”‚ โ”œโ”€โ”€ schema-and-structure.mdx
โ”‚ โ”œโ”€โ”€ crud-operations.mdx
โ”‚ โ”œโ”€โ”€ querying-records.mdx
โ”‚ โ”œโ”€โ”€ scopes-and-query-composition.mdx
โ”‚ โ”œโ”€โ”€ validations.mdx
โ”‚ โ”œโ”€โ”€ callbacks.mdx
โ”‚ โ”œโ”€โ”€ transactions.mdx
โ”‚ โ””โ”€โ”€ database-indexes.mdx
โ”œโ”€โ”€ 07-associations-and-data-modeling/
โ”‚ โ”œโ”€โ”€ belongs-to.mdx
โ”‚ โ”œโ”€โ”€ has-one.mdx
โ”‚ โ”œโ”€โ”€ has-many.mdx
โ”‚ โ”œโ”€โ”€ many-to-many-associations.mdx
โ”‚ โ”œโ”€โ”€ polymorphic-associations.mdx
โ”‚ โ”œโ”€โ”€ association-options.mdx
โ”‚ โ”œโ”€โ”€ dependent-records.mdx
โ”‚ โ””โ”€โ”€ database-constraints.mdx
โ”œโ”€โ”€ 08-frontend-and-interactivity/
โ”‚ โ”œโ”€โ”€ asset-pipeline-overview.mdx
โ”‚ โ”œโ”€โ”€ css-and-javascript-setup.mdx
โ”‚ โ”œโ”€โ”€ import-maps.mdx
โ”‚ โ”œโ”€โ”€ hotwire-overview.mdx
โ”‚ โ”œโ”€โ”€ turbo-drive.mdx
โ”‚ โ”œโ”€โ”€ turbo-frames.mdx
โ”‚ โ”œโ”€โ”€ turbo-streams.mdx
โ”‚ โ”œโ”€โ”€ stimulus-controllers.mdx
โ”‚ โ””โ”€โ”€ responsive-ui-patterns.mdx
โ”œโ”€โ”€ 09-authentication-and-authorization/
โ”‚ โ”œโ”€โ”€ authentication-vs-authorization.mdx
โ”‚ โ”œโ”€โ”€ password-storage.mdx
โ”‚ โ”œโ”€โ”€ login-and-logout.mdx
โ”‚ โ”œโ”€โ”€ session-management.mdx
โ”‚ โ”œโ”€โ”€ cookie-security.mdx
โ”‚ โ”œโ”€โ”€ authorization-policies.mdx
โ”‚ โ”œโ”€โ”€ role-based-access-control.mdx
โ”‚ โ”œโ”€โ”€ password-reset-flows.mdx
โ”‚ โ””โ”€โ”€ authentication-testing.mdx
โ”œโ”€โ”€ 10-rest-api-development/
โ”‚ โ”œโ”€โ”€ rails-api-overview.mdx
โ”‚ โ”œโ”€โ”€ api-only-applications.mdx
โ”‚ โ”œโ”€โ”€ restful-design.mdx
โ”‚ โ”œโ”€โ”€ json-responses.mdx
โ”‚ โ”œโ”€โ”€ request-validation.mdx
โ”‚ โ”œโ”€โ”€ serializers-and-representations.mdx
โ”‚ โ”œโ”€โ”€ pagination-filtering-and-sorting.mdx
โ”‚ โ”œโ”€โ”€ api-versioning.mdx
โ”‚ โ”œโ”€โ”€ token-authentication.mdx
โ”‚ โ”œโ”€โ”€ rate-limiting.mdx
โ”‚ โ””โ”€โ”€ api-error-handling.mdx
โ”œโ”€โ”€ 11-background-jobs-and-email/
โ”‚ โ”œโ”€โ”€ background-processing-overview.mdx
โ”‚ โ”œโ”€โ”€ active-job.mdx
โ”‚ โ”œโ”€โ”€ queue-adapters.mdx
โ”‚ โ”œโ”€โ”€ retries-and-failure-handling.mdx
โ”‚ โ”œโ”€โ”€ scheduled-jobs.mdx
โ”‚ โ”œโ”€โ”€ action-mailer.mdx
โ”‚ โ”œโ”€โ”€ email-previews-and-delivery.mdx
โ”‚ โ””โ”€โ”€ asynchronous-workflows.mdx
โ”œโ”€โ”€ 12-file-uploads-and-storage/
โ”‚ โ”œโ”€โ”€ active-storage-introduction.mdx
โ”‚ โ”œโ”€โ”€ upload-files.mdx
โ”‚ โ”œโ”€โ”€ image-variants.mdx
โ”‚ โ”œโ”€โ”€ cloud-storage-configuration.mdx
โ”‚ โ”œโ”€โ”€ direct-uploads.mdx
โ”‚ โ””โ”€โ”€ file-validation-and-security.mdx
โ”œโ”€โ”€ 13-testing-and-quality/
โ”‚ โ”œโ”€โ”€ testing-strategy.mdx
โ”‚ โ”œโ”€โ”€ rails-test-structure.mdx
โ”‚ โ”œโ”€โ”€ model-tests.mdx
โ”‚ โ”œโ”€โ”€ controller-and-request-tests.mdx
โ”‚ โ”œโ”€โ”€ integration-tests.mdx
โ”‚ โ”œโ”€โ”€ system-tests.mdx
โ”‚ โ”œโ”€โ”€ fixtures-and-factories.mdx
โ”‚ โ”œโ”€โ”€ mocking-and-test-doubles.mdx
โ”‚ โ”œโ”€โ”€ test-coverage.mdx
โ”‚ โ””โ”€โ”€ linting-and-code-quality.mdx
โ”œโ”€โ”€ 14-security/
โ”‚ โ”œโ”€โ”€ security-fundamentals.mdx
โ”‚ โ”œโ”€โ”€ csrf-protection.mdx
โ”‚ โ”œโ”€โ”€ sql-injection-prevention.mdx
โ”‚ โ”œโ”€โ”€ cross-site-scripting.mdx
โ”‚ โ”œโ”€โ”€ secure-parameters.mdx
โ”‚ โ”œโ”€โ”€ secrets-and-credentials.mdx
โ”‚ โ”œโ”€โ”€ dependency-security.mdx
โ”‚ โ”œโ”€โ”€ authorization-boundaries.mdx
โ”‚ โ””โ”€โ”€ security-audit-checklist.mdx
โ”œโ”€โ”€ 15-performance-and-scalability/
โ”‚ โ”œโ”€โ”€ n-plus-one-queries.mdx
โ”‚ โ”œโ”€โ”€ eager-loading.mdx
โ”‚ โ”œโ”€โ”€ query-optimization.mdx
โ”‚ โ”œโ”€โ”€ caching-fundamentals.mdx
โ”‚ โ”œโ”€โ”€ fragment-and-low-level-caching.mdx
โ”‚ โ”œโ”€โ”€ database-connection-pooling.mdx
โ”‚ โ”œโ”€โ”€ profiling-and-benchmarking.mdx
โ”‚ โ””โ”€โ”€ scaling-rails-applications.mdx
โ”œโ”€โ”€ 16-advanced-rails/
โ”‚ โ”œโ”€โ”€ concerns-and-reusable-behavior.mdx
โ”‚ โ”œโ”€โ”€ service-objects.mdx
โ”‚ โ”œโ”€โ”€ form-objects.mdx
โ”‚ โ”œโ”€โ”€ query-objects.mdx
โ”‚ โ”œโ”€โ”€ engines-and-mountable-apps.mdx
โ”‚ โ”œโ”€โ”€ custom-generators.mdx
โ”‚ โ”œโ”€โ”€ rails-initializers.mdx
โ”‚ โ””โ”€โ”€ application-architecture.mdx
โ”œโ”€โ”€ 17-deployment-and-devops/
โ”‚ โ”œโ”€โ”€ production-readiness.mdx
โ”‚ โ”œโ”€โ”€ production-database-setup.mdx
โ”‚ โ”œโ”€โ”€ environment-variables-and-secrets.mdx
โ”‚ โ”œโ”€โ”€ asset-builds-and-deployment.mdx
โ”‚ โ”œโ”€โ”€ dockerizing-rails.mdx
โ”‚ โ”œโ”€โ”€ kamal-deployment.mdx
โ”‚ โ”œโ”€โ”€ reverse-proxy-and-https.mdx
โ”‚ โ”œโ”€โ”€ logging-and-monitoring.mdx
โ”‚ โ”œโ”€โ”€ database-backups.mdx
โ”‚ โ””โ”€โ”€ ci-cd-pipeline.mdx
โ”œโ”€โ”€ 18-projects/
โ”‚ โ”œโ”€โ”€ blog-application.mdx
โ”‚ โ”œโ”€โ”€ task-management-app.mdx
โ”‚ โ”œโ”€โ”€ authentication-system.mdx
โ”‚ โ”œโ”€โ”€ inventory-management.mdx
โ”‚ โ”œโ”€โ”€ ecommerce-store.mdx
โ”‚ โ”œโ”€โ”€ json-rest-api.mdx
โ”‚ โ”œโ”€โ”€ real-time-dashboard.mdx
โ”‚ โ””โ”€โ”€ production-capstone.mdx
โ”œโ”€โ”€ reference/
โ”‚ โ”œโ”€โ”€ rails-command-cheatsheet.mdx
โ”‚ โ”œโ”€โ”€ routing-reference.mdx
โ”‚ โ”œโ”€โ”€ active-record-query-reference.mdx
โ”‚ โ”œโ”€โ”€ migration-reference.mdx
โ”‚ โ”œโ”€โ”€ testing-reference.mdx
โ”‚ โ”œโ”€โ”€ security-checklist.mdx
โ”‚ โ”œโ”€โ”€ common-errors.mdx
โ”‚ โ”œโ”€โ”€ glossary.mdx
โ”‚ โ””โ”€โ”€ official-resources.mdx
โ””โ”€โ”€ assets/
โ”œโ”€โ”€ images/
โ”œโ”€โ”€ diagrams/
โ””โ”€โ”€ examples/