Tutorials
Guideline for email setup scenarioSat, 19 Sep 2009 05:04:14 UT
I am searching for a tutorial/example/guide if there is one on sending an email from a visitor (no user registration is needed currently) to my site to someone else. The visitor has to enter their email address and the recipient(s)' email address(es) in a form and submitted it to generate the email. The tutorials I have seen so far demonstrate email
partial wont render .html.erb
Sat, 19 Sep 2009 11:50:26 UT
Hi, My partial simply wont render a .html.erb file. This is exactly what I get on the error screen: ActionView::MissingTemplate in Categories#show Showing app/views/categories/show.html .erb where line #7 raised: Missing template tutorials/_tutorial.erb in view path app/views Extracted source (around line #7):
Rails Authors
Mon, 14 Sep 2009 18:40:45 UT
WDVL.com is looking for authors to cover Ruby on Rails. This a new area for us and we don't have a lot of coverage in this area. We are looking for short concise tutorials on all aspects of RoR, ranging from beginner to advanced. If you are interested please e-mail me at rh...@internet.com with some samples of your work and I'll give you
Complete Newbie needs help!
Fri, 11 Sep 2009 07:44:52 UT
Hey, I am so stoked to learn rails. i am on an iMac so i know it's pre- installed. I have installed rubystack. I would like to know how to start my project etc. I have tried a number of tutorials including creating a simple blog from the rails.org site but i fall down every time at, what i think is the same
Call rb file on HTML
Fri, 11 Sep 2009 11:41:55 UT
Hi I'm a beginner in ruby and I just to know how to call rb file on HTML. For example I have an .rb file that contains a class and some functions. How can I call that on an HTML for example there's a link or button on the HTML or just run the rb file. helpful links/tutorials are also appreciated.
Web Development Blog: Sending e-mails via SMTP with PHPmailer and Gmail
Fri, 04 Sep 2009 14:56:14 -0500
On the Web Development Blog there's a recent post about using the PHPMailer package to send email out via the Google Mail servers. These days I tried some plugin to send mail message within bbpress via SMTP. Since my domains email is hosted with Google applications I decided to send my messages via the SMTP server from Gmail. I found several articles and tutorials, but a lot of them didn't work for me. [...] You need for this code example a PHP5 enabled web host (I tested only on Linux), the port 465 need to be open and of course you need a Gmail or Google applications account. Complete code is provided - a smtpmailer function that takes in the standard mail parameters (to, from, subject, msg) and ships the message off to the Gmail STMP servers (on their custom port 465).
DevShed: Sanitizing Strings with Filters in PHP 5
Thu, 03 Sep 2009 07:21:53 -0500
DevShed rounds the final corner on their sanitizing user input series of tutorials with the eighth part, a look at filtering inputted strings to remove potentially dangerous issues. In this part, I discuss how to use the filter extension for sanitizing strings in all sorts of clever manners. I'll show you how to encode quotes, low and high ASCII characters in literals, and remove them in the same easy manner. Doing this can help prevent SQL injections and XSS attacks when developing PHP applications. Their code shows how to use the FILTER_SANITIZE_STRING, FILTER_FLAG_NO_ENCODE_QUOTES, FILTER_FLAG_STRIP_LOW, FILTER_FLAG_STRIP_HIGH, FILTER_FLAG_ENCODE_LOW and FILTER_FLAG_ENCODE_HIGH filtering methods on a sample string or two and what they'd result in.
getting error NoMethodError in Book#new
Wed, 26 Aug 2009 20:05:07 UT
I'm just getting introduced to rails. I've started with the tutorials mentioned in tutorialspoint.com. I am getting stuck at creating a view. Tried the code on this page [link] and it gives me the following error: undefined method `title' for #<Book id: nil, created_at: nil,
Autocomplete with DB + Urgent ..
Tue, 25 Aug 2009 06:25:47 UT
Hello Champs, I fetch out the values of a table (suppose users) from database and want to show them(user's name) in a text-field with autocomplete.. Can i do this in rails .. If yes, then how can .. ? Do not know any thing about it .. May be you people can suggest me some tutorials for it as well..
Models more than Databases
Thu, 13 Aug 2009 07:45:14 UT
Hi Guys, I would like some advice - I am new to Rails although not new to development. I have read numerous rails tutorials - however they all seem to build around forms interacting with a database. My question is how do models/controllers work when it goes beyond just adding things into databases?
Nested object form existing values not displayed
Tue, 11 Aug 2009 12:57:18 UT
I have two models, User and Profile, that have a one-to-one relationship and which I am creating in the same form. I thought I'd give nested object forms a go, but got stuck with two problems: 1) When I use the syntax from the tutorials I found, 'form.fields_for :profile do |profile_form|', then the key of the
Non-Image Upload
Fri, 31 Jul 2009 18:17:32 UT
I'm new with Rails and I've been searching for a way to upload files using Rails. I've only found plug-ins and tutorials for images. Do you know any website/plu-ing/etc that can help me with non-image file uploads? Thanks, Gabriel.
How secure are sessions?
Wed, 29 Jul 2009 13:26:41 UT
I have read a number of different tutorials that talk about adding a login page to an application that all contain very similar wording: "Of course, you would log in over an SSL connection". And I understand the theory of HTTP and the theory of packet sniffing well enough to know that, if I type in a password on a form, and that form
Joomla Tutorials - Add a Contact
Wed, 29 Jul 2009 15:09:17 -0500
With it's built-in contact component, adding a contact form to your Joomla site is a very easy process. It allows for multiple contacts and even multiple categories of contacts. This tutorial will be ...
Ruby 1.8.6 + Rails 2.3.2 + ActionMailer + Gmail SMTP
Wed, 22 Jul 2009 20:45:18 UT
Hi, Can someone please help me setup ActionMailer via Gmail SMTP. I tried many tutorials online and some gems too but either they are not downloadable or links not working or the suggestions are very vague. Presently I am using Ruby 1.8.6 and Rails 2.3.2 ActionMailer::Base.delivery_me thod = :smtp
Community News: ZendCon '09 Timetable Posted
Wed, 22 Jul 2009 14:15:47 -0500
If you're planning on attending this year's Zend/PHP Conference, you'll be happy to know that the official schedule has been posted and allows you to make your very own customized version. There's more than fifty sessions at this year's conference so narrowing it down to just what you want to see can make quite a bit of difference. Topics range anywhere from looks at various frameworks, using PHP 5.3, working with XML, best practices and interfacing PHP with Java. There's still lots of time to get in on the Early Bird Discount (ends August 28th) to get your pass to the conference for either all days or a pass minus the tutorials.
Best Books and Tutorials on Rails?
Sat, 18 Jul 2009 16:14:08 UT
I am a Ruby/Rails newby, currently reading "Simply Rails 2" by Patrick Lenz. While I am finding it worthwhile I was hoping others could recommend other good books and online tutorials for learning Rails. I have read up about Ruby online, so I think I know enough Ruby for the time being. In some ways the strength of Rails is also its weakness, at least for
Ajax Date Selector or similar?
Tue, 30 Jun 2009 19:58:20 UT
I've been trying to find a date picker that works really well with Rails. I've looked into the following thus far: jMaki Widget jQuery.datepicker jRails jQuery.datepicker However, none of these provide any information on how to use them with Rails. I've scrounged the web for tutorials or any information about
How Do I Start My Own Website?
Mon, 22 Jun 2009 11:47:23 -0500
When it comes to starting your own website there are many books and tutorials, eBooks, videos, and other materials on how to start your own website. If you have never played with your computer, never gone to those free website hosting services, it might seem a bit difficult to start your website.
newbie need help
Sat, 20 Jun 2009 02:04:30 UT
Can someone help me get started with ruby on rails? I searched a lot of tutorials on how to get it started but most are out dated and all doesn't seems to work. Getting really frustrated on where to begin. I hope someone here can help me. I just want to learn rails and how it works.



