I m just learning Ruby and have and have an extremely beginner question. Is the difference between the four types of variables mainly just scope. So local variables can only be used within the current block, instance variables within the current instance, global variables within every scope and finally, class variables within the current class? Thanks a lot!
collection_select and select Rails helpers: Which one should I use? I can t see a difference in both ways. Both helpers take a collection and generates options tags inside a select tag. Is there a ...