• 0

ruby on rails


Question

So, anyone have experience developing on rails? I am going through the tutorials and documentation playing around. But wanted to know if anyone had any cool projects they've been working on or completed using RoR, or if they had additional resources to help out with starting up, from development to deployment - that kind of stuff.

Thanks!

Link to comment
https://www.neowin.net/forum/topic/1008760-ruby-on-rails/
Share on other sites

5 answers to this question

Recommended Posts

  • 0
  On 29/06/2011 at 15:09, ericnkatz said:

So, anyone have experience developing on rails? I am going through the tutorials and documentation playing around. But wanted to know if anyone had any cool projects they've been working on or completed using RoR, or if they had additional resources to help out with starting up, from development to deployment - that kind of stuff.

Thanks!

I use Rails for all of my personal websites. While I haven't done anything different with it, there are many sites out there that are powered by Rails (github.com, yellowpages.com, groupon, hulu). I'm not sure why you want to see something cool others have developed, but it's a web application framework and, like all web application frameworks, it is used to streamline the application development process. While showing you cool websites proves that other people are using it to create great sites, the difference between Rails and every other framework is in the code and how it accomplishes tasks. That's when you'll start to notice how Rails is different.

A few resources:

- http://www.railscasts.com

- http://www.peepcode.com

- http://ruby.railstutorial.org/

- http://guides.rubyonrails.org/

If you like books:

- Rails Tutorial (ebook is available on the site I linked above. You can also get the real book in a store)

- Agile Web Dev with Ruby on Rails (Make sure you buy the newest edition)

- Rails 3 Way (New people thought the book was too advanced for them. Read the reviews on this one. I liked it, but I'm also an experienced Rails developer)

For deployment, I would recommend Apache w/ Passenger (mod_rails) OR Nginx w/ Passenger (mod_rails). You have to use some *nix-based OS for the server. There are many tutorials out there on best practices. Linking to them here would be quite a job.

For development:

- What OS are you using? Some *nix (Unix, Linux, OS X) OS is preferred. While you will be able to develop apps on Windows, you'll notice that it's not the best dev platform for Rails. The performance isn't very good and some gems (Ruby libraries) are dependent on *nix.

- If you're using *nix, download and use RVM to download/install Ruby. (https://rvm.beginrescueend.com/) If you're using Windows, use Ruby Installer (http://rubyinstaller.org/). Make sure you download and install the development kit (http://rubyinstaller.org/downloads/) as well. Sometimes gems have to compile a native library. If you don't install the dev kit, you will have trouble installing these gems.

Link to comment
https://www.neowin.net/forum/topic/1008760-ruby-on-rails/#findComment-594112698
Share on other sites

  • 0
  On 29/06/2011 at 15:44, sbauer said:

I use Rails for all of my personal websites. While I haven't done anything different with it, there are many sites out there that are powered by Rails (github.com, yellowpages.com, groupon, hulu). I'm not sure why you want to see something cool others have developed, but it's a web application framework and, like all web application frameworks, it is used to streamline the application development process. While showing you cool websites proves that other people are using it to create great sites, the difference between Rails and every other framework is in the code and how it accomplishes tasks. That's when you'll start to notice how Rails is different.

A few resources:

- http://www.railscasts.com

- http://www.peepcode.com

- http://ruby.railstutorial.org/

- http://guides.rubyonrails.org/

If you like books:

- Rails Tutorial (ebook is available on the site I linked above. You can also get the real book in a store)

- Agile Web Dev with Ruby on Rails (Make sure you buy the newest edition)

- Rails 3 Way (New people thought the book was too advanced for them. Read the reviews on this one. I liked it, but I'm also an experienced Rails developer)

For deployment, I would recommend Apache w/ Passenger (mod_rails) OR Nginx w/ Passenger (mod_rails). You have to use some *nix-based OS for the server. There are many tutorials out there on best practices. Linking to them here would be quite a job.

For development:

- What OS are you using? Some *nix (Unix, Linux, OS X) OS is preferred. While you will be able to develop apps on Windows, you'll notice that it's not the best dev platform for Rails. The performance isn't very good and some gems (Ruby libraries) are dependent on *nix.

- If you're using *nix, download and use RVM to download/install Ruby. (https://rvm.beginrescueend.com/) If you're using Windows, use Ruby Installer (http://rubyinstaller.org/). Make sure you download and install the development kit (http://rubyinstaller.org/downloads/) as well. Sometimes gems have to compile a native library. If you don't install the dev kit, you will have trouble installing these gems.

Currently using OSX I have it installed and running on localhost:3000 going through the http://ruby.railstutorial.org/ tutorials right now. Guess I haven't looked at deployment yet since I don't really have an app worth deploying anywhere for now. I think I may definitely look at the real books once I get more comfortable and go through some of these other tutorial sites you shared.

Thank you!

Link to comment
https://www.neowin.net/forum/topic/1008760-ruby-on-rails/#findComment-594116582
Share on other sites

  • 0
  On 30/06/2011 at 17:24, ericnkatz said:

Currently using OSX I have it installed and running on localhost:3000 going through the http://ruby.railstutorial.org/ tutorials right now. Guess I haven't looked at deployment yet since I don't really have an app worth deploying anywhere for now. I think I may definitely look at the real books once I get more comfortable and go through some of these other tutorial sites you shared.

Thank you!

If you don't want to use the built-in server (maybe to test deployment or you'd rather just use apache to dev), install Passenger and then install Passenger Pane (https://github.com/Fingertips/passengerpane). It will add an item to system preferences that will let you easily add sites to the apache installation. It's pretty easy to use. It just creates vhosts in the background so it's not magic or anything, but it very easy to use when you're developing.

A lot of developers use some kind of open source tool for command-line deployments. I've used capistrano in the past. There are other ones out there though.

Link to comment
https://www.neowin.net/forum/topic/1008760-ruby-on-rails/#findComment-594116694
Share on other sites

  • 0
  On 30/06/2011 at 17:27, articuno1au said:

Sorry to tag onto this..

What's the advantage of developing with RoR as opposed to say ASPX.net?

I've never really had anyone explain why they use it over ASP/PHP et all.. Just curious >.<

There's a rather large difference between the two, especially if you're talking about ASP.NET WebForms (standard ASP.NET) and RoR. RoR follows the MVC pattern, while WebForms tries to recreate Windows development for the web (controls, event life cycle). If you like control over your HTML, and don't mind being exposed to what the web is, then ASP.NET WebForms would be a terrible choice. ASP.NET WebForms and RoR are so fart apart that they're not even comparable.

ASP.NET MVC is another framework created by Microsoft that puts an MVC architecture over the ASP.NET pipeline. While it uses a similar pattern, the two frameworks are still quite different. When you create an ASP.NET MVC project, you will see a few folders, a couple config files, and a layout. That's all. How you configure business logic, data access, and the routing is up to you. If you want to use an ORM, you will need to set that up. MVC ships with jquery, jquery validations, Microsoft Ajax, and that's pretty much it.

RoR, on the other hand, is very opinionated. It expects you to use the framework in a way that it was designed for. While this sounds bad, it's actually a good thing. Following its conventions will make your life very easy. There's no boiler plate code needed to setup a data layer since it comes with an ORM. Models are expected to go in the Model folder and routes, for the most part, can be standardized. You also don't have to think about how you're going to manage schema changes as ActiveRecord migrations does it for you. As a result, setup time is not usually a big deal.

Use ASP.NET over Rails if...

- You need to use Microsoft tools.

- You need to use a Windows server.

- You're comfortable with Microsoft and/or their developer tools.

- You can't use open source technologies.

Use ASP.NET WebForms over MVC if..

- If you want to add rich data features with little to no work.

- You don't care about the maintainability of your application.

- You like headaches.

Use ASP.NET MVC over WebForms if...

- You don't like the event driven approach of WebForms

- You want 100% control over your markup.

- You want to practice TDD (Test Driven Development)

- You want to use the MVC architecture.

Use RoR over ASP.NET if..

- You don't want to/can't use a Windows server.

- You don't use Windows at all.

- You like the Ruby scripting language more than C#/VB.NET.

- You would rather use a dynamic language, instead of a static language.

- You like the conventions that Rails enforces.

- You prefer open source technology.

Link to comment
https://www.neowin.net/forum/topic/1008760-ruby-on-rails/#findComment-594116748
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • Exactly. Use it is fine, but copyright is another story...
    • Not really, I am pretty hot at the moment and tomorrow I will be even hotter as the U.K are some hot days. Not looking forward to work. I just don't want to connect my computer to MS servers, I have no need to, the same with my Mac not being connected to Apple Servers. I have no need for MS or Apple accounts.
    • Really? Do you want it spelled out? Ok: It was a funsies way to say that we can confidently asume that their update servers were shut down years ago already, and no updates have been developed or delivered to any LG phone in years, since, to begin, LG wasn't too well known for their software support.
    • Good afternoon, I have a customer who purchased a Dell laptop last year. One of the latest Inspirons. they are older so it can be a bit hard to see things on the screen. They are using Windows 11 Home 23H2, I have not upgraded them yet to 24H2. What I did was changed the scaling to 150% and that automatically made all the icons on desktop bigger and using in Chrome webpage elements are bigger etc. The thing is I overlooked the Taskbar and the icons most notably hidden within the arrow pointing up. I though by changing to 150% the scaling even the taskbar would get bigger. Again I don't know how I missed seeing that. Is this something that can be fixed? One other thing is I notice in File Explorer things are also small and not larger after the change. Can this be fixed as well?   Thank You.
    • Apple still has two unannounced features for iOS 26 by Hamid Ganji Apple held its WWDC25 event this month to unveil a slew of AI features and its new design for operating systems, known as Liquid Glass. While iOS 26 currently has no shortage of features, the iPhone maker might still have some features under wraps that didn’t make a debut at this month’s WWDC. Bloomberg’s Mark Gurman writes in his weekly Power On newsletter that Apple didn’t announce two iOS 26 features at the WWDC event. The first feature is a live translation of conversations via AirPods, and the latter is the ability to sync your wireless network login information across devices at a hotel or gym. Even though these features were already tipped to arrive in iOS 26, Apple held them from the event, presumably because they’re still not ready to ship. Apple appears to have learned from its experience with Apple Intelligence and aims to break the habit of unveiling new features before they are ready for release. The Live Translation on iOS 26 is currently integrated with popular apps like Messages, FaceTime, and Phone to help users break language barriers and communicate in different languages. The feature is now under development for AirPods, allowing users to hear real-time speech translations. Moreover, the WiFi syncing feature allows you to sync your sign-in information across your entire Apple ecosystem, enabling you to connect to a public WiFi network with ease. This would eliminate the need to sign into a WiFi network separately on each device. While these features haven’t arrived in iOS 26 yet, they’re more likely to be released later this year, in October or December.
  • Recent Achievements

    • Community Regular
      Primey_ went up a rank
      Community Regular
    • Reacting Well
      Gromvar earned a badge
      Reacting Well
    • Dedicated
      BreakingBenjamin earned a badge
      Dedicated
    • Week One Done
      Hartej earned a badge
      Week One Done
    • One Year In
      TsunadeMama earned a badge
      One Year In
  • Popular Contributors

    1. 1
      +primortal
      515
    2. 2
      +FloatingFatMan
      183
    3. 3
      ATLien_0
      168
    4. 4
      Som
      96
    5. 5
      Skyfrog
      96
  • Tell a friend

    Love Neowin? Tell a friend!