As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I'm new to Mongo DB and Mongoid (and still kinda new to Ruby on Rails). Since Ryan Bates dosen't happen to have a Mongoid Railscast, I need pointers to other good tutorials/screencasts.
Thanks!
There is now a Railscast for Mongoid: http://railscasts.com/episodes/238-mongoid
I find it best to read over the documentation, scan the google group, then just start looking at code.
Here are a couple apps that use mongoid:
http://github.com/fortuity/rails3-mongoid-devise
http://github.com/fortuity/rails3-subdomain-devise
Good luck.
This is what you are looking for MongoDB & Mongoid - RubyJax February 2010 It's the introduction to Mongoid by his creator!
great one here about using gridFS, mongoid and carrier-wave
Just start using it.
It's pretty easy and if it's missing something that you think should be there, just add it as a support ticket on the github issue tracker. Don't forget to include why you think it should be there. (http://github.com/durran/mongoid/issues)
Related
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 9 years ago.
I'm looking for a very concise guide to using rails. I've done lots of work with other similar frameworks like Django so I just need a very short tutorial. Does anything like that exist?
Thanks!
This is best guide for those who are new to rails..
http://ruby.railstutorial.org/ruby-on-rails-tutorial-book
If you're willing to put up with a few quick video tutorials, Rails for Zombies by EnvyLabs (railsforzombies.org) gives a good overview of the framework.
If you decide to check it out, know this: at the time of this writing, there's one error in the tutorials. The code they show you for writing a basic redirect is missing a prepended slash on the URI. (At least, according to the interpreter they use for the accompanying exercises, it's incorrect.)
Other than that small gripe, in my opinion it's a great way to onboard yourself and colleagues in Rails, before drilling down into the gritty details.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I'm new to Ruby on rails and followed the Labs of railsforzombies.org and passed all 5 labs.
I'm looking for good simple help for start to make CMS in rails 3. and at first want to implement simple login page with sessions.
Any expert here to guide me.
Thanks
If its OK to use a gem for it, Devise is recommended, can be customized and has all the functionality you would need.
https://github.com/plataformatec/devise
If you want to implement from scratch,
http://railscasts.com/episodes/250-authentication-from-scratch
This railscast looks good, the site has pretty much all you would need about rails, should bookmark.
Here you can find nice tutorial with gem authlogic and how to make the Unobtrusive login ( with Ajax ) .
Check it out :
http://net.tutsplus.com/tutorials/ruby/how-to-build-an-unobtrusive-login-system-in-rails/
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
Any sample app using ember data to recommend ? Ideally with Rails backend and models associations.
I have been using this app to follow as an example:
https://github.com/dgeb/ember_data_example
This blog post also has good direction:
Getting started with Ember Data and Rails
I was able to understand associations by looking at the Ember-Data project's documentation and tests:
I found this code very useful. Very well fragmented into individual files and a nicely written router.
Exactly mirroring the CRUD behavior.
https://github.com/bazzel/ember-sample2
Slightly outdated and simplistic, but I'll update this to revision 10 soon:
http://github.com/mehulkar/teams
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
What are the Best Ruby Screencasts/videos to really understand ruby? Which ones would you recommend?
PeepCode
Teach Me To Code
Railscasts
RubyPulse
Ruby Tapas
GoRails
Railscasts is probably one of the best around, and Ryan actively updates it weekly. Gregg Pollack also did a few. There's also a ton of Ruby related screen casts floating around the internet, whether they're taken from conference talks or self built on youtube.
I recommend Lynda videos, i really liked them and the guy is very instructive.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I'm looking for some blog that talks about ruby and rails.
Any tips?
Thanks
There's also PlanetRubyOnRails:
http://www.planetrubyonrails.com/
which is an aggregator of many ruby (and ruby on rails) blogs (you can find the list here, and eventually select just those you like and add them to your own feed reader)
I think that Ryan's Scraps is a very useful rails blog.
http://www.rubyinside.com/
http://www.railsinside.com/
Both are good at summing interesting stuff up, got most of the people I follow on a regular basis from there. :)
Ruby Best Practices has lots of good general ruby advice, while Yehuda Katz seems able to not only be extremely productive developing bundler, rails 3 and more, but also write good articles about them.
Other blogs I read not already mentioned include Ryan Tomayko, Pratik Naik and Pivotal Blabs, not to mention my own small corner of the web.
Railscasts - free RoR screencasts.