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/