GithubHelp home page GithubHelp logo

mca's People

Contributors

madimov avatar senseyad avatar

Watchers

 avatar  avatar

mca's Issues

nested resources

some notes:
http://blog.8thcolor.com/en/2011/08/nested-resources-with-independent-views-in-ruby-on-rails/ (very useful tutorial). A useful comment:
If anyone else has the problem, I had to change the line in the create method from:
@comment = post.comments.create(params[:comment])
to:
@comment = post.comments.create(comment_params)
Also, the same change in the update method

http://www.korenlc.com/rails-generate-model-vs-resourse-vs-scaffold/

figuring out how to implement the update function in comments_controller without having to create a new comment every time you update one:
https://gist.github.com/jhjguxin/3074080
https://duckduckgo.com/?q=ruby+on+rails+find+params+update+ensted+resource&t=ffab&ia=qa
https://stackoverflow.com/questions/25100872/how-to-edit-update-a-nested-resource-on-rails-4 (maybe i could ask a similarly phrased question but with my specific situation?)

get heroku to auto-deploy from the github subfolder

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.