Can you one please guide.... i want to implement Testing in my Rails application.... i never do that before.... so i don't know how to implement testing. can any one please tell me is their any link should follow for step by step process ... please.. Thanks in advance
Ryan has some excellent railscasts about testing:
http://railscasts.com/tags/7
I recommend you start there. He has a very easy to follow style, and is a great teacher for new users and old users alike.
You could also take a look at RailsGuides' guide on testing in Rails:
http://guides.rubyonrails.org/testing.html
and various testing framework options here:
http://www.ruby-toolbox.com/categories/testing_frameworks.html
Related
I was looking to add a feature that allows my users to send money to one another via PayPal or some other popular source that could handle such a request. As this is something I have yet to implement to a website I'm fairly new and would like to see if anyone could guide me in a direction with some suggestions/ideas on how to realize this. I thank all those in advance who take the time to try and assist in my learning the implementation of a new feature such as this.
Please refer the screencast & the article listed below:
http://railscasts.com/episodes/141-paypal-basics?view=asciicast ,
http://www.gotealeaf.com/blog/basic-paypal-checkout-processing-in-rails
What are some good rails 3 tutorials for implementing Authlogic? The example listed on github is quite outdated and while the Railscast example does a great job of explaining everything it is beginning to show its age.
I've heard mixed reviews about devise but after installing it, watching several railscasts on its capabilities, and going through the tutorials I've decided to stick with it.
Try devise, its a lot simpler :)
hi people i m new to ruby on rails i m looking for authentication solution for my app and i came across Devise and Authlogic so my question is which one to choose?
my requirements
1.save time
2.highly customziable
3.easy to understand
4.easy to debug
Please Help
Please visit the link below and understand authentication from scratch.
http://railscasts.com/episodes/250-authentication-from-scratch
Pros:
1. Very easy to understand, as a beginner.
2. Highly customizable.
3. Get an extreme handle of what is going on.
4. Good riddance from complex code.
5. Its written by you.
Cons:
1. Its written by you.
Thanks.
After finishing with Rails Tutorial by Michael Hartl, which parts of the sample app proposed in tutorial should I upgrade first? Authentication method comes to mind first..
Given the huge popularity of that tutorial, I suppose there is something like a list of steps to be taken for that app to become more up-to-date in this ever changing world of web dev etc. etc. etc.
Overall is it a good idea to use that app as a foundation for building something more advanced?
Thanks in advance!
I learned Rails with that book :)
However, even the authentication algorithm used there is great to learn, in practice you can use other alternatives. For example I use the wonderful Devise gem (Railscasts 209 and 210).
There are some ideas at the end of the book that explain how you can extend the application. However, I think that building your own app from scratch is better now that you know how to do it.
After reading that book, I created some basic projects, and in parallel started reading The Ruby Programming Language and The Rails 3 Way.
Hope it helps! Welcome to the Rails world :)
I'am looking for a good Forum plugin running under rails3 ?
If you have any idea, i'll be glad to hear it :)
It's probably quicker to develop your own than to adapt and upgrade one of the existing Rails forums. There aren't many Rails forum projects as compared to PHP (for example), as it's generally pretty quick to write your own, depending on how many features you need. :)
I started to develop one too in rails 3. It's going to be similar to Wordpress Ideas. Right now i have build the user part with devise and integrated angularjs. I just started. If you are interested in contributing you can find it here: https://github.com/Chocksy/opiniodev-rails-app