You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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)?
@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 ?
@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.
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) ✗
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.
Activity
jacqueline-homan commentedon Aug 29, 2013
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.
jacqueline-homan commentedon Aug 29, 2013
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)?
steveklabnik commentedon Aug 30, 2013
Not opposed.
steveklabnik commentedon Aug 30, 2013
@jacqueline-homan it should just work, hm.
jacqueline-homan commentedon Aug 30, 2013
Well it's not, Steve.
PragTob commentedon Aug 30, 2013
@jacqueline-homan do you have the latest version from master? E.g. does your
config/initializers/secret_token.rblook like this and do you have aconfig/config.yml.sample?steveklabnik commentedon Aug 30, 2013
@jacqueline-homan I know, I'm just saying 'bummer'!
jacqueline-homan commentedon Sep 1, 2013
@PragTob , No, I don't have a config/config.yml.sample file.
PragTob commentedon Sep 1, 2013
@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.jacqueline-homan commentedon Sep 3, 2013
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) ✗
jacqueline-homan commentedon Sep 3, 2013
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.
PragTob commentedon Sep 3, 2013
Good that you have it now :-)
You entered one line incorrectly (at least according to your log), it should be:
(the hacketyhack/ was missing)
jacqueline-homan commentedon Sep 3, 2013
I know, I caught it when I went to look at my .git/config file after the fact. (Hindsight is always 20/20).