I'm new to RoR, writing a simple app. Need to implement mail functionality the usual register/forgot password stuff. I have googled, but haven't got a complete tutorial yet. Most of the tutorials teach how to send mail, but don't help out with the settings. can someone suggest a good tutorial, complete with settings?
I'm on ubuntu 9.04, would like to use my dev box as the server.
I'm just starting using Ruby on Rails and am using Ubuntu too.
From my research, I've found http://modrails.com/ is the best solution to host rails on ubuntu / apache. Their documentation is great to get the server up and running.
From there, I've found the best Rails Tutorial is the official ones, which can be found at http://guides.rubyonrails.org/.
A good way to also start learning stuff is to look at source code of other apps, some of which can be found at http://opensourcerails.com/.
Related
I am new to rails. I have followed instructions and setup a rails server. I have an application on my computer. I have started localhost:3000 and I don't know what to do next step.
I did try a few other solutions, but nothing explains the next step.
Thank you
Due to the vague question and i am not allowed to comment you to ask question, thanks to #StackoverflowTeam.
Some suggestion when i learn Ruby on Rails, since your application is up,
You should learn to create a Model(a table in the DB).
Create a Controller to handle HTTP requests
Learn about the app/config/routes.rb to handle customise url map to controller_name:action_name.
Okey, good for you to start.
I have found this free videos interesting, hope you like it codeschool ruby on rails
I have now build my first Ruby on Rails site and I want to publish/deploy/show it to the world on internet. I have access to space on a web server trough a university that I am associated with. But after some searching I realized that publishing a Rails site is slightly more complicated than publishing a regular html production.
Is there any way to use the space I have? How can I know if the server I have access to is up for the task? Is there any guides on how to do this via SSH or git or whatever? I have search a lot but not found anything useful. It doesn't have to be easy, I just have to work. And it's good if I can learn and understand what I am doing.
I have tried quite extensively to make it work with Heroku (everybody claims it to be so easy) but failed since it will not accept my push. Probably because I use Rails 4.2.2 (I don't want to change this, too many things stopped working when I tried to update) and Paperclip which seems to be known issues.
Please, I'm getting desperate, any help pointing in the right direction is very appreciated.
I am having some trouble understanding how to use databases with ruby on rails. I know that my app works fine when i generate a scaffold and add/edit models. What i do not understand is if anything changes when i put my rails app online, does it still use the .sqlite3 file in the db folder? or do i connect it to my sites SQL server?
If you do switch and connect to a SQL server why is this?
Is there a guide or tutorial on this topic that you can point me to perhaps? my searching mostly came up with migrating tutorials. I just want to figure out how Rails works when it is live on a website.
Thanks
You can use SQLite on production with no problems, although it is not the ideal option.
On production is more recommendable to use a more powerful solution. You can see at the official guide how to switch: http://guides.rubyonrails.org/getting_started.html#configuring-a-database
i am developing a rails plugin, in which i want a model where server will notify updates to all the connected clients. for simplicity say, on certain event server will say 'hi there is an update' to all the clients.
i came across juggernaut plugin that uses web-sockets and have followed https://github.com/maccman/juggernaut_plugin/tree/c3e07a812341f93bb1f90c00b7a125524b07b80a
but its not working for me.
can any one help me figuring out what am i missing, simply to send an alerts to the clients.
or is there some simpler library or simpler way to get on with it?
any suggestions/comments will be appreciated.
What about Faye? Here's a Railscasts screencast
juggernaut_plugin hasn't been updated for three years. You want Juggernaut, the much more recently and recently-updated version. Try following the instructions for that.
I am doing a project on creating a lab application for a next generation sequencing data using ruby on rails.
The main idea my boss suggests me to do is to have users fill in their details and submit to us. After the submission, the administrator, i.e. me, would send them a password which they can use to login my application. could some one help me with the idea of development. I am naive to ruby on rails and would be very grateful for people who help me.
thank you and cheers
I would start with Michael Hartl's RailsTutorial. Not only did I find it the best way to get started - the application he builds includes a bombproof user security model, just as you require, and so you'd be both learning and developing something relevant at the same time.
I'd also recommend buying the videos, as well as the book. They make all the difference.
Are you new to the whole web development thing or is it just Ruby on rails that you have no knowledge of?
If the former, I'd suggest googling some Ruby tutorials on how to make a simple web application and build from there. Start by a simple "Hello world" application, then proceed to handle submitted forms, then install and use a database and by then you should have the basic knowledge to build what you want.
If the latter, could you specify, what parts you need help with? Ruby is syntactically quite easy to learn if you just take a look at some tutorials, so that shouldn't pose any problems. You have described a simple use case which I'm sure you can handle in a new environment, if you just have the patience to try and learn.