Skip to content

Commit

Permalink
Link to demo applications source code (#4920)
Browse files Browse the repository at this point in the history
Co-authored-by: Oleg Pudeyev <[email protected]>
  • Loading branch information
p-mongo and p authored Nov 19, 2020
1 parent 6800f70 commit 88ecbdf
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
16 changes: 6 additions & 10 deletions docs/tutorials/getting-started-rails.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ described in the `Ruby on Rails Getting Started
<https://guides.rubyonrails.org/getting_started.html#creating-the-blog-application>`_
guide, however using Mongoid instead of ActiveRecord as the database adapter.

The complete source code for this application can be found in the
`mongoid-demo GitHub repository
<https://github.com/mongoid/mongoid-demo/tree/master/rails>`_.

.. note::

This guide assumes basic familiarity with Ruby on Rails.
Expand Down Expand Up @@ -351,14 +355,6 @@ You should now be able to leave comments for the posts:
:alt: Screenshot of the blog with a new comment being added


Source Code
-----------

The complete source code for this application can be found in the
`mongoid-demo GitHub repository
<https://github.com/mongoid/mongoid-demo/tree/master/rails>`_.


Existing Application
====================

Expand Down Expand Up @@ -548,6 +544,6 @@ as when creating a regular application, with the only change being the
``--api`` parameter to ``rails new``. Migrating a Rails API application to
Mongoid follows the same process described above for regular Rails applications.

A complete Rails API application using Mongoid can be found in the
`mongoid-demo GitHub repository
A complete Rails API application similar to the one described in this tutorial
can be found in the `mongoid-demo GitHub repository
<https://github.com/mongoid/mongoid-demo/tree/master/rails-api>`_.
4 changes: 4 additions & 0 deletions docs/tutorials/getting-started-sinatra.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ This section shows how to create a new Sinatra application using Mongoid
for data access. The process is similar for other Ruby applications not
using Ruby on Rails.

The complete source code for this application is available `in the
mongoid-demo GitHub repository
<https://github.com/mongoid/mongoid-demo/tree/master/sinatra-minimal>`_.

Create Git Repo
---------------

Expand Down

0 comments on commit 88ecbdf

Please sign in to comment.