Archive for the ‘Programming & Design’ Category

How can I manage users using Ruby on Rails?


2010
04.24
shafaki asked:


I am planning to make some sort of social networking web application. I will be using Ruby on Rails to build it. I have just learnt the basics of Ruby on Rails. Now how can I go about to do user registration and authentication and display customized content for each user after he/she longs in?

What is main difference between Ruby and Ruby on Rails?


2010
04.12
Misty asked:


Hi
What big difference between Ruby and Ruby on Rails? Is it the gems used? Capability to work with other languages? What do you think?
Thanks MC

How can I make my script check if an entered subdirectory is valid?


2010
03.26
Chest Rockwell asked:


I’m writing a shell script for class that needs to prompt the user to enter a subdirectory, If their entry is valid, it will display the contents of that directory. If it is invalid, it will throw an error message and exit.

How can I make the script check if their entry is valid without having to program each and every directory into the script?