Please read for an updated status on RailsCasts:
Learn more or hide this
This user is a moderator.
GitHub User: mkremer
I have updated the links in the show notes. Thanks for letting us know! :)
Thanks for reporting this error and my apologies for the late reply. I have now corrected the ASCIIcast.
Thanks for reporting this error in the ASCIIcast, I have corrected it.
You're welcome! I certainly did not perceive your comment about typos as rude, and I can certainly imagine that some of these typos could certainly confuse beginners a great deal. I do not write the ASCIIcasts though ;-)
As a moderator I am happy with anyone who takes the time to report inconsistencies or flaws in the textual content on the site so that they can be corrected by one of the moderators, by doing so you make Railscasts a better place for everyone! I am glad this work is appreciated!
Thanks for reporting those inconsistencies, I have corrected the ASCIIcast.
Thanks for reporting that, I've corrected this error in the ASCIIcast.
I just took a look at the ASCIIcast and the show notes, it looks like someone has corrected this already.
Thanks for reporting this mistake, I have corrected the text in the ASCIIcast
Thanks for letting us know, I've corrected the text in the ASCIIcast :)
Thanks for letting us know, I've corrected the ASCIIcast text :)
You're absolutely right, I've corrected it :)
Thanks for letting us know, I've corrected the ASCII version
Thanks for reporting that, I've updated the ASCIIcast to show the correct filename for the partial :)
I've corrected the show notes, thanks for letting us know!
I've deleted your questions and duplicate comments per your request :)
I am going to respond to your comment assuming that you are a true beginner. If I am saying something you already know or find the tone of my response offensive then I am sorry, I am only trying to help.
Before I continue to answer your comment I ask you to please not type messages in all-capitals, it appears as if you are shouting and comes across quite rude. Also saying things like "you must help me or I will go insane" doesn't inspire others to help you out, its more likely that you'll get ignored. No matter how desperate you are, if you want someone's help the best thing to do is to be polite and clearly explain your problem and adding as much relevant information as possible. You will find that this applies to communications on most tech resources (mailing lists, forums, etc.)
Now on to your problems:
I'm afraid you made a beginner's mistake, running rake db:setup will setup a fresh database, so that's what happened (that's a standard rake task in Rails). If you ran that command on your production environment the only thing you can do is restore your latest database backup. If you don't have a backup there's really nothing that can be done.
As for the template missing error, its hard to say without knowing your codebase. If you've been editing code on your production system (which you really shouldn't be doing, development should be done on in its own place, for example on your own machine) you will have to debug the error and fix it.
I hope that my reply gives you some insight into your problems.
Yes, it is possible. Just don't define any styles and you should be fine.
I've fixed the issue in the ASCIIcast by removing the '↵' which didn't really seem needed anyway.
Another option is to use Vagrant, which is what I use when I develop Ruby applications on Windows.
Thank you for notifying us of that discrepancy, I've corrected the transcripts.
Net::HTTP is part of std-lib which is installed with Ruby, you can find the documentation on ruby-doc.org. The links at the top of the page are for Ruby 1.9.3, if you're using an older version you'll have to scroll down to find the matching links.
std-lib will already be in your load path, so you can simply require files in it as you would files within your project:
What you need to require usually matches the name of the left frame in the std-lib documentation. Once you've installed a gem through Bundler you can require it in the same way, what you need to require differs per gem. Usually its the same as the gem's name, however there are exceptions (to be sure check out the documentation of the gems you're using).
Thanks for reporting that issue, I've fixed the link :)
Thanks for reporting that! The ASCIIcast has been corrected.
I just finished the Rails implementation of the EchoService, hopefully it will be of use to someone :)
Unfortunately both of those aren't actively maintained, I doubt that either works on Ruby 1.9 (if you search you may find a fork of one or the other that could do the job).
Doing it yourself completely isn't as hard as you may think though. Today I finished up an article on my blog on this topic, the example service I present in it is written using Sinatra (and not Rails).
I'm working on building an example of the same SOAP service inside of a Rails app: https://github.com/mkremer/echo_service_rails. I'll expect this example to be finished somewhere in the coming days
Thanks for catching that, I've corrected it :)
It has been corrected :)
If you're using Guard you can also use the guard-process gem. It doesn't have all of the features Foreman has, but it does allow you to easily specify when your processes need to be restarted in standard Guard fashion.