News for hackers. Stuff that matters.
Re:From Learning Rails to Deploying a SaaS App in 7 Days by mhartl on Wednesday June 26, 2013 @08:40PM (#5950019)
On a previous thread, [I mentioned](https://news.ycombinator.com/item?id=5942320) that at some point I'm thinking about writing Learn Enough Rails To Be Dangerous to go along with the Ruby on Rails Tutorial—but it looks like, by using the Rails Tutorial, you can already become plenty dangerous. ;-)

Seriously, though, this is cool, and every developer-entrepreneur should do something like this just to get the experience of actually shipping a web app.

Re:From Learning Rails to Deploying a SaaS App in 7 Days by vu0tran on Wednesday June 26, 2013 @08:59PM (#5950069)
Ah, so you're the guy I have to thank.

I'll come back to the site eventually and finally get around to learning how to write those unit tests. :)

Re:From Learning Rails to Deploying a SaaS App in 7 Days by bdcravens on Thursday June 27, 2013 @01:10AM (#5950806)
I'd recommend purchasing the book and/or screencasts as your way of thanking :-)
Re:From Learning Rails to Deploying a SaaS App in 7 Days by zachgersh on Wednesday June 26, 2013 @08:12PM (#5949928)
This is the double edged sword that is Rails. It gives you enough to quickly deploy a basic SaaS app and lull you into the false sense of security (it's so easy to launch an app!).

Rushing through learning RoR and not a) learning Ruby and b) actually taking your time to write some tests goes against what is arguably the best practice for learning RoR properly.

Throwing together one app is a start down a path to learning RoR, it's not actually "learning Ruby on Rails". They are two different things.

Re:From Learning Rails to Deploying a SaaS App in 7 Days by Legion on Wednesday June 26, 2013 @09:42PM (#5950212)
Agreed. That said, for people who aren't necessarily programmers at the start of the process, producing useful things makes it a lot easier to justify the continued learning required to get there.
Re:From Learning Rails to Deploying a SaaS App in 7 Days by vu0tran on Wednesday June 26, 2013 @08:16PM (#5949945)
I agree. There's also:

c) GemHell

Where you're so captivated in all the shiny Ruby Gems that you don't take the time to learn what they actually do.

Re:From Learning Rails to Deploying a SaaS App in 7 Days by zachgersh on Wednesday June 26, 2013 @08:28PM (#5949978)
We've all gotten stuck there. It's too tempting to add easy functionality, until it breaks and you have to debug it.

Hopefully you are going to take a long journey with Rails!

Re:From Learning Rails to Deploying a SaaS App in 7 Days by prakster on Wednesday June 26, 2013 @08:23PM (#5949961)
Hey Vu,

I'm impressed. Would like some words of advice from you, as I am attempting something similar but less ambitious. Ok to contact you via email?

Re:From Learning Rails to Deploying a SaaS App in 7 Days by vu0tran on Wednesday June 26, 2013 @08:25PM (#5949969)
Yeah! Of course. Just tweet at me and I can direct message you my contact info.

@vu0tran

Re:From Learning Rails to Deploying a SaaS App in 7 Days by casual_slacker on Wednesday June 26, 2013 @09:06PM (#5950092)
It's just a screw up that RoR got security wrong at the start and had to change their paradigms to fix it. Following a few principals (no in-band signaling), newer frameworks are secure by default and just as simple to learn.
Re:From Learning Rails to Deploying a SaaS App in 7 Days by bpatrianakos on Wednesday June 26, 2013 @11:05PM (#5950520)
I want to know why he spent no time listening to Kanye's new album? It's amazing!!

Oh, and seven days? Really? Even with such a thorough explanation I have to wonder how much time people have on their hands to buckle down and do this. This can't be something that's done sporadically. Not in 7 days.

Re:From Learning Rails to Deploying a SaaS App in 7 Days by vu0tran on Wednesday June 26, 2013 @08:43PM (#5950026)
Woot, 2.19s end user browser load time. Significantly better than crashing and burning this time around guys! Go dyno go!
Re:From Learning Rails to Deploying a SaaS App in 7 Days by bdcravens on Thursday June 27, 2013 @01:15AM (#5950817)
As someone about to launch first big Rails app (I've done small ones before): given the timing of Rails 4, did you consider going Rails 4/Ruby 2 (I'm assuming Rails 3.2, as Hartl's tutorial for 4 was in beta until 4's launch 2 days ago)
Re:From Learning Rails to Deploying a SaaS App in 7 Days by wrsmith on Thursday June 27, 2013 @01:46AM (#5950884)
The author's twitter account only has 160 some tweets but more than 19000 followers, a lot of which look like fake accounts...building the rails app is a good use of time but it seems it wasn't actually used (who would need to automates 100 tweets)?
Re:From Learning Rails to Deploying a SaaS App in 7 Days by joonix on Thursday June 27, 2013 @12:23AM (#5950713)
So, Django or Rails for someone who wants what you're recommending this for (beginners with light coding background looking to build an app quickly)?

Is there something like that SaaSTemplate for Django?

Re:From Learning Rails to Deploying a SaaS App in 7 Days by tsurantino on Thursday June 27, 2013 @02:47AM (#5950995)
You can just as easily program something like this with Django. One criticism that you may encounter with Django is that it's not as extensible or have as robust of a community. In terms of plugins, you'll need distinguish between django specific plugins and just general python plugins.

For example, for Twitter - you'll encounter that there isn't necessarily a one-size-fits-all Twitter plugin that's specific to Django. Instead, you might need an authentication plugin which will store relevant Twitter information (id, token) and then use a Python Twitter plugin to do the kind of neat stuff the author has accomplished.

I prefer Django because it's more explicit and there is less magic. This is also good for beginners because it's easier for you to track down where things might be going wrong for you. Django might not have the best community-support (no railscast equivalent).

Re:From Learning Rails to Deploying a SaaS App in 7 Days by TheBiv on Thursday June 27, 2013 @02:09AM (#5950931)
Rails.

I don't know.

Bonus commentary: Rails is not for the faint of heart. It will suck, but just dive in and see if you can hack it. Then stay humble and keep on pushing yourself.

Re:From Learning Rails to Deploying a SaaS App in 7 Days by purephase on Wednesday June 26, 2013 @11:16PM (#5950555)
While this a great story, I'd focus more on what you shipped. I can see it being a valuable service for people.
Re:From Learning Rails to Deploying a SaaS App in 7 Days by um304 on Thursday June 27, 2013 @02:31AM (#5950966)
I don't know if I should ask, but I am curious to know if you made any money with this app!
Re:From Learning Rails to Deploying a SaaS App in 7 Days by ukd1 on Wednesday June 26, 2013 @07:14PM (#5949736)
A single tear...