Skip to content

Commit bb55b54

Browse files
p-mongop
andauthored
Link to demo applications source code (#4920)
Co-authored-by: Oleg Pudeyev <[email protected]>
1 parent 9c7132c commit bb55b54

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

source/tutorials/getting-started-rails.txt

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@ described in the `Ruby on Rails Getting Started
1919
<https://guides.rubyonrails.org/getting_started.html#creating-the-blog-application>`_
2020
guide, however using Mongoid instead of ActiveRecord as the database adapter.
2121

22+
The complete source code for this application can be found in the
23+
`mongoid-demo GitHub repository
24+
<https://github.com/mongoid/mongoid-demo/tree/master/rails>`_.
25+
2226
.. note::
2327

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

353357

354-
Source Code
355-
-----------
356-
357-
The complete source code for this application can be found in the
358-
`mongoid-demo GitHub repository
359-
<https://github.com/mongoid/mongoid-demo/tree/master/rails>`_.
360-
361-
362358
Existing Application
363359
====================
364360

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

551-
A complete Rails API application using Mongoid can be found in the
552-
`mongoid-demo GitHub repository
547+
A complete Rails API application similar to the one described in this tutorial
548+
can be found in the `mongoid-demo GitHub repository
553549
<https://github.com/mongoid/mongoid-demo/tree/master/rails-api>`_.

source/tutorials/getting-started-sinatra.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@ This section shows how to create a new Sinatra application using Mongoid
1818
for data access. The process is similar for other Ruby applications not
1919
using Ruby on Rails.
2020

21+
The complete source code for this application is available `in the
22+
mongoid-demo GitHub repository
23+
<https://github.com/mongoid/mongoid-demo/tree/master/sinatra-minimal>`_.
24+
2125
Create Git Repo
2226
---------------
2327

0 commit comments

Comments
 (0)