Rails is not designed to help us adhere to these rules. This rule particularly was challenging, especially in the views.
View helpers such as link_to or form_for can end up requiring a lot of parameters to work correctly. While we put some effort into not passing too many arguments, we fall back to Rule 0 and leave the parameters if we can't find a better way to do it.
Only instantiate one object in the controller
This rule raised the most eyebrows before we started the experiment. …
…conflicts and dependency hells can be very time-consuming and annoying, too. Ruby-on-Rails programs for example need the right combination of Ruby Version (for example Ruby 1.8.7 or 1.9.2), the right Ruby-On-Rails Version (2.3.8 or 3.2), and the right RubyGems Version (say 1.3.5). The gems or plugins have their own versions, too. The whole system only works if everything fits together. In the beginning this is no problem, for a new system usually everything is up-to-date. …
After some initial hiccups , I've finished preparing a version of the Ruby on Rails Tutorial compatible with the first Rails 4.0 release candidate . Interested readers can take a look at it and let me know if anything doesn't work.
Google I/O 101: YouTube and Ruby on Rails for Education
In this Google I/O Tutorial, JJ walks you through how to integrate YouTube and Ruby-on-Rails with education.
From: GoogleDevelopers
Views: 40015
131 ratings Time: 22:01 More in Science & Technology
Recent update to Netzke (the framework that helps you build ExtJS/ Ruby-on-Rails applications) introduces support for FamFamFam Silk icons . All you have to do is download the icons and put them into your public/images/icons folder (so that the icons are accessible via http://yourhost.com/images/icons ) - the next time you restart your Rails application, Netzke will detect the icons and start using them. As always, this update is reflected on the Netzke live …
Devise and Rails 4 - Moving various libraries forward.
Esbit - Lightweight gem to interact with the Campfire API.
5 Things You Should Stop Doing with jQuery - Avoid Document Ready, among others.
Phones for Apps for Firefox OS - Mozilla is giving away phones to entice app developers.
Does MultiJson introduce slowness? - Looks like we may see some rapid movement towards native Json in Ruby now.
RubyMotion Goes 2.0 And Gets …
I have just discovered RedBubble an awesome site for displaying and selling your artwork (whether images, writing, T-shirts or otherwise)... and developed in Ruby-on-Rails too.
Here's my portfolio as an example of what they can do for you.
Matt Aimonetti introduces the latest version of Ruby -- Ruby 2.0. Find out what's new in Ruby and what it means for your Rails applications.
Bonus content: download the slides from this talk.
Track your running miles ... JRuby, Ruby-on-Rails, GlassFish, NetBeans, MySQL, YUI
A simple web application that allows to track your running miles and generate charts to monitor progress.
From: arungupta
Views: 440
0 ratings Time: 07:22 More in Science & Technology
…small open source project or a large proprietary piece of software, because those have the best chance of having few defects and high overall code quality.
§ Track Server-Side Events from Rails in Google Analytics .
§ Dale Emery :
Costs move to where they will not be borne by the people who made the decisions that created them.