• Content count

  • Joined

  • Last visited

Community Reputation

1 Neutral

About derekchen14

  1. mac

    I have to agree with BurgersNFries here. Evernote the platform can support task managers, but Evernote the note-taking client should primarily be used for basic note-taking. This is a rough analogy, but forcing the client to act like a true task manager is like using a screwdriver to ram a nail into wood – you should really be using a hammer instead. Here's a thread with tons of options:
  2. Does our app need to be using HTTPS to go from Sandbox to Production? I've already had my Evernote_Key approved for production use, and transferred all pointers from to (using the Rails environment variables), but something is still not working. Any step by step guide for going from sandbox to production?
  3. From what I can tell, OmniAuth allows users to sign on to my app (Notable) by logging into Evernote (or Facebook, Twitter, etc.) instead. Whereas OAuth allows my app to access my users' Evernote information (namely note_store). I'm not sure though about: ​If a user authenticates with OmniAuth, do they still have to authorize Notable to access Evernote later on through OAuth, or does that become redundant?I want to keep things simple for now and perform authentication through Devise. Can I hold off on using Evernote OmniAuth until later?Since the RoR sample you wrote uses OmniAuth, does it not apply to me since I am using Devise?​The bundler comment makes enough sense. Basically, since I am using bundler with Ruby gems, I don't need to "require" for those lines, right? Other MVC related questions: It looks like the sample app doesn't need a model because the note information goes straight to Evernote. However, in my app, I want to store extra information as well. Then I would need a model right?I understand the application controller is the default one for Rails, but I'm wondering what is the default one for an Evernote app. It sounds like you need at least three, user_store, note_store, and evernoteThen the way the flow works is that Application_controller inherits from " ActionController::Base" while Evernote_controller inherits from ApplicationControllerIt sounds like the "@code = <<-CODE" line is basically for debugging then. That makes sense for a sample app, but I probably wouldn't include it on my production app, right? Thanks for your help with all this!
  4. I'm trying to build a Rails application, but not sure how to get started. Previously, I've already created a simple Sinatra app that successfully connected to the Evernote API (and helped me win a hackathon, yay!) by using the Quick Start Guide. However, now that I'm trying to build a more robust application using Rails, I'm quickly hitting a wall. My main questions: Where do evernote_config.rb and en_oauth.rb belong within the Rails app?Is there still a need for a "require" statement or does the gem take care of most of the work?This looks very similar to the config/evernote.yml file, does the yaml file replace this code?Also, I want to note that I am aware of the sample RoR app that Kentaro manages, but while that mitigates some issues, it doesn't resolve my core problems. In particular, I remember being told to create a custom Model, but the model folder is empty so there is no example of how this can be done.There are multiple controllers, note_store, user_store, evernote, etc. Which one(s) are essential to get started?Is there documentation somewhere which outlines what the other files do? There doesn't seem to be a lot of comments in the code.What "@code = <<-CODE" doing? The code that it wraps seems to be valid ruby, so why not just leave it as that?Why do the various controllers not line up with any of the views? Not to mention, why are none of controllers connected to a model?Thanks for all your help!