Skip to content

Move to Mongoid? #170

Open
Open

Description

@PragTob

From what I hear around MongoDB mongoid is by far more actively developed and mongo_mapper is behind by a fair bit. The mongoid maintainer also works pretty closely with the people from the MongoDB company (formerly known as 10gen).

I think at one point or another, moving over the mongoid would be well worth it.

Thoughts?

Activity

  1. jacqueline-homan commented on Aug 29, 2013

    @jacqueline-homan

    I like that idea. BTW, I am signed up for two upcoming free courses at 10gen for Mongo because I need to learn Mongo stuff anyway.

  2. jacqueline-homan commented on Aug 29, 2013

    @jacqueline-homan

    BTW, still having problems with getting app to run when firing up the rails server. Here's the Gist of the error I get:

    https://gist.github.com/jacqueline-homan/6384497

    Now, the way I have fixed it temporarily just so I could work on the project was to uncomment the secret token string, and comment out the string that puts the token key in an environment variable. But this is not good for security reasons. Is there a better way to handle the secret token for the app in Rails 3.1.11 (the app's Rails version we are using right now)?

  3. steveklabnik commented on Aug 30, 2013

    @steveklabnik
    Member

    Not opposed.

  4. steveklabnik commented on Aug 30, 2013

    @steveklabnik
    Member

    @jacqueline-homan it should just work, hm.

  5. jacqueline-homan commented on Aug 30, 2013

    @jacqueline-homan

    Well it's not, Steve.

  6. PragTob commented on Aug 30, 2013

    @PragTob
    MemberAuthor

    @jacqueline-homan do you have the latest version from master? E.g. does your config/initializers/secret_token.rb look like this and do you have a config/config.yml.sample ?

  7. steveklabnik commented on Aug 30, 2013

    @steveklabnik
    Member

    @jacqueline-homan I know, I'm just saying 'bummer'!

  8. jacqueline-homan commented on Sep 1, 2013

    @jacqueline-homan

    @PragTob , No, I don't have a config/config.yml.sample file.

  9. PragTob commented on Sep 1, 2013

    @PragTob
    MemberAuthor

    @jacqueline-homan then you do not have the most current version of hackety-hack.com - I fixed something regarding this on master. I don't know what your current setup is but you should try to the get the newest changes e.g. ``git pull upstream master, where upstream is the remote of this repository. E.g. git remote add upstream git@github.com:hacketyhack/hackety-hack.com.git` and then do that. Hope that helps.

  10. jacqueline-homan commented on Sep 3, 2013

    @jacqueline-homan

    I have been struggling over the weekend trying to get this to work, but can't seem to get the repo you've mentioned:

    ➜ hackety-hack.com git:(rails-composer) ✗ git pull upstream master
    fatal: 'upstream' does not appear to be a git repository
    fatal: Could not read from remote repository.

    Please make sure you have the correct access rights
    and the repository exists.
    ➜ hackety-hack.com git:(rails-composer) ✗ git remote add upstream git@github.com:hackety-hack.com.git
    ➜ hackety-hack.com git:(rails-composer) ✗ git pull upstream master
    ERROR: Repository not found.
    fatal: Could not read from remote repository.

    Please make sure you have the correct access rights
    and the repository exists.
    ➜ hackety-hack.com git:(rails-composer) ✗

  11. jacqueline-homan commented on Sep 3, 2013

    @jacqueline-homan

    And when I tried to install it via git clone, I had to run 'bundle' because not all the gems wanted to behave themselves and install. But now having re-installed the project copy it this way, I finally DO have the correct filed that Tobi was referring to.

  12. PragTob commented on Sep 3, 2013

    @PragTob
    MemberAuthor

    Good that you have it now :-)

    You entered one line incorrectly (at least according to your log), it should be:

    git remote add upstream git@github.com:hacketyhack/hackety-hack.com.git
    

    (the hacketyhack/ was missing)

  13. jacqueline-homan commented on Sep 3, 2013

    @jacqueline-homan

    I know, I caught it when I went to look at my .git/config file after the fact. (Hindsight is always 20/20).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions