Creating Ruby server in 7 Lines of code
#ruby #rails #code #server
Get Any city weather in ruby in 8 lines of code
#ruby #rails #code #weather
Ruby on Rails can be tricky for developers coming from other platforms—not only do you need to learn a new language, but a whole new set of best practices as well. Darcy runs through the top 10 tips and techniques that will keep your code as neat, tidy, and testable as possible.
Ruby on Rails, often shortened to Rails or RoR, is an open source web application framework for the Ruby programming language. It is intended to be used with an Agile development methodology that is used by web developers for rapid development
It is often asked: how do I create a list of checkboxes for managing a HABTM association? Ask no more because this episode will show you how to do exactly that.
Be careful when storing a model in a session. It will behave differently than you expect and can easily get out of sync with the database. Instead of storing the model directly in the session, store the id to the model and use that to fetch it from the database.
Loading in a configuration file can be really handy when you have a few settings that might change in the future of your application, such as contact email addresses or the strength of a spam filter.
A collection of tips to make your Rails developing more efficient or interesting that most Rails developers overlook.
A general tutorial about programming best practices that isn't specific to Rails, but certainly is something all Rails programmers should read.
An introduction to Ruby and Rails conventions that all Rails beginners should learn to follow.
Help us out! More and more tutorials are submitted to Good-Tutorials each day. We could use your help with finding good tutorials.
Mind lending a hand?