Rails deployment - best way [closed] - ruby-on-rails

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
There are several ways with which a RoR application can be deployed. What is the best way to deploy a Ruby on Rails application? Capistrano, normal SVN checkout, git pull or any other tool?

As for me I use old-good Capistrano. It supports many CVS systems like git, svn .. Once created recipes helps me in every project. I just copy them to config/deploy folder and change meta info about project. It is simple and quite easy to use.

SCM aware deployment using capistrano is simple and clean.
http://www.slideshare.net/hyfather/deployment-patterns-in-the-ruby-on-rails-world
The above article explores the other options like:
Distributing your app as a first class linux packages like RPM/DEB, or distributing the app as a WAR file or even releasing the entire app as a ruby gem.
The presentation even explains the pros and cons of all the options mentioned.

Related

Which type of database should I use for my first Ruby on Rails app? [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 9 years ago.
I'm working on a Ruby on Rails project that acquires and displays information on how undervalued stock mutual funds and ETFs are (by price/book ratio, price/cash flow ratio, etc.). My source code is at https://github.com/jhsu802701/bargainstockfunds-scrape .
At the moment, my focus is mainly on the Ruby side. I am new to the world of Ruby on Rails development, and I'm heeding the advice to learn Ruby first.
I need to use a database to store data acquired by my Ruby script. I know that there are several options (MySQL, NoSQL, PostGres, etc.), but I have no prior experience with databases. What do you recommend using and why? (Best support? Best performance? Easier to work with? Other reasons?)
SQLite is very convenient during development in Rails. It is small, file-based, and portable.
As a bit of a "perfectionist" I tend to spend a whole lot of time in development, on my local machine.
I, too, have far more experience with MySQL and use it for my production database on Rails projects. Remember that you can configure a different db for each Rails environment ("development", "production", "test").
Rails migrations make it really easy to build up a new database once you switch from development to production.

Ruby On Rails IDE for development on Ubuntu [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
There are many IDE's available today for the Ruby on Rails application development. I am somewhat confused after reading that which IDE should I use for ubuntu at present. The articles are older then a year now which gives the IDE information to use for. At work I am using eclipse IDE which is working well for now. But at home, I am thinking if there is anything better to use which is more friendly and easy for development now.
Let's say if you're not familiar with ancient editors like emac or vim. You can try Sublime Text 2
I would vote for vim with plugins that work perfectly with rails:
1- vim-rails : Which is really great with rails projects. Allows you to navigate pretty quickly between views, controllers and models. Using rakes and rails generators within vim itself. https://github.com/tpope/vim-rails
2- NERDTree : for folders and files. https://github.com/scrooloose/nerdtree
3- Fugitive if you are using git this is a really awesome plugin. https://github.com/tpope/vim-fugitive
The beautiful thing about vim is that you can customise it as you like. You could add ruby autocomplete and exuberant ctags (http://ctags.sourceforge.net/) to quickly navigate between functions.
Vim has a steep learning curve but once you get used to it, it will add up huge benefit. Vimcasts is a great source to learn it. http://vimcasts.org/

Ruby On Rails Vs Django [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 11 years ago.
i used PHP for my web development, until recently when i started using python framework Django, i enjoy the experience,
but had a chat with my friend and he started saying this and that about me switching to Rail, even with all
my effort trying to explain to him that the are vitually alike he kept echoing rails.
If anyone is actually better than the other, please that i will like to know
Thanks.
It depends on your projects. Rails has a bigger community IMHO, great screencasts. Django has great stuff out of the box. Whereas rails has gems for every task you require and they are always changing (which is good and bad; might be hard to keep up)
Django has an out of the box administration panel and a great templating library.
You can use python egg as far as I know, and other python libraries.
I'd give Django a go first to so as to finish something, but then in the long run using Rails could be of benefit.

How to prepare an interview for Ruby on Rails developer position? [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 11 years ago.
Background about myself:
I have about 3 years experience working in Java/J2EE. I am currently pursuing MS in Software Engineering at a reputed university. I have done several classwork projects on Ruby on Rails and can be considered at Intermediate level expertise with ROR.
I have an interview coming up next week for a Ruby on Rails developer position at a startup. I have already prepared all the basics of Ruby on Rails but didn't get a lot input on the questions asked for ROR developers. Can you guys help me with the preparation? Any materials, suggestions would be welcome.
Here are some responses prepared earlier: What Ruby and Rails Developers Ought To Know?
Some of this is going to depend on the level of the role your are looking at. If I was interviewing someone from the Java world I would be probing to make sure they understood some of the common Ruby idioms, particularly blocks and closures.
Create a github account and made some patch to several project.
Be active in Open source community. It's really a good start

Open Source ruby and rails projects [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
Which open source ruby or ruby on rails projects do you contribute to regularly?
Sinatra and Rack are two of my favorite projects, since they're both relatively young, meaning they have much good work to be done.
If you're looking to contribute to projects, also see my GitHub profile, since I'm always looking for patches. :)
I work on Redmine and it's plugins a lot. I'm going to be getting into Sinatra soon, it's a really good framework for creating a simple web app.
I have contributed to RSpec.
I work on rboard, a forum system built for the latest versions of Rails and actively maintained. I also occasionally commit to the documentation for Rails itself too.
I'm also looking for patches on rboard, there's a large TODO.html file in there.
Found this - 23 open source Ruby on Rails applications

Resources