similar to: Nice Ruby tutorial for begginers

Displaying 20 results from an estimated 1300 matches similar to: "Nice Ruby tutorial for begginers"

2006 Mar 28
5
RJS call from controller issues javascript that doesn''t get evaluated by browser
Hi, I''m on Rails 1.1 and I have a problem wit RJS In my cotroller i have ==>>> def show @contact = Contact.find(params[:id]) render :update do |page| page[:contactInfo].replace_html :partial=>"contactInfo" end end <<<=== And my contactInfo partial looks like this and it''s placed inside a div element ==>>> <table>
2006 Mar 14
7
Starting with RJS - not working
Hi, I''m trying to work with RJS and folowed Cody Fauser''s tutorial (http://www.codyfauser.com/articles/2005/11/20/rails-rjs-templates) I''ve started by creating a new rails applications and executing rake freeze_edge rake rails:update:javascripts rake rails:update:scripts After that I''ve created a controller: class DtestController < ApplicationController
2006 Jul 03
6
Rjs $("aaa").insertHtml is not a function error
Hi, I''ve searched the list and found that someone had the same problem as me http://lists.rubyonrails.org/pipermail/rails/2006-May/043760.html I''m have in my page a link like this <%= link_to_remote ("Add #{image_tag(''add.png'')}",:url=>{:action=>''addProduct''})%> and in my controller def addProduct ..................
2006 Feb 09
1
Irb Web Interface
I was wondering how to give the Ruby on Rails console a web interface like this website http://tryruby.hobix.com/. -- Posted via http://www.ruby-forum.com/.
2006 Aug 17
4
Directory Help
I am a newbie to ruby on rails. I am using the pragmatic programmers agile development with rails book. I am at the beginning, i have installed MySQL and ruby on rails but the book asks me to "create a directory". Being a person who has only ever done a basic ruby trial (at tryruby.hobix.com) and learnt extremely basic HTML is there anyone out there who can help me and give me
2006 May 16
5
Transactions in RoR
Hi, Does anyone knows how to manage transactions in RoR. Thanx
2006 May 11
2
Reuse code
Hi, I have several helper methods that I use on one view . Is there a way to share this methods on several views ? To be more specific in: companies_helper I''ve defined the helper methods that I would like to use in products section. Thanx, Ovidiu
2006 Apr 07
1
Validate_presence_of error in nested object is not displayed
Hi, I have a contact object . This contact has a address object >>Contact class Contact < ActiveRecord::Base has_one :address validates_presence_of :first_name ,:last_name end .>>> Address class Address < ActiveRecord::Base belongs_to :contact validates_presence_of :address end Addres has the following fields ; address, phone, fax, email In the contacts_controller I
2006 Mar 31
6
how to access a hash within a hash in ruby?
Simple question: I know how to access a data field in a hash by doing hash_name[datafield_name]. But what if the datafield itself is a hash? I tried a couple of variations but nothing seems to be working and tutorials do not go into such details. Is there a simple way or should I create separate instances? -Chris -- Posted via http://www.ruby-forum.com/.
2010 May 04
2
R for web browser
Hi Everyone, Does anyone know of any projects for running an interactive R session within a web browser? I'm looking for something similar to the one on the Ruby website (http://tryruby.org), except for R. Thanks for your responses in advance! Lanna ----- Lanna Jin lannajin at gmail.com 510-898-8525 -- View this message in context:
2006 Jun 18
1
Query
If there were a project to integrate Hobix with Camping, should it be called ShantyTown? Thanks, -mental
2006 Feb 21
6
What do I need to learn Ruby, Rails, JavaScript, AJAX?
So I''ve sort of come to the conclusion that if I wanna get stuff done, I need to either A) Find some dang money and pay people to do it or B) Do it myself. I''m opting for B. Soooo...now I''ve got some programming/technologies to learn. I''m self-employed and I can afford to take a month (or 2) off to totally immerse myself in this and learn how to do it.
2007 Jan 20
1
Camping on Media Temple?
I''m getting into camping in a big way--I love that you can put together full-fledged apps with so little code and overhead. Does anyone know of any documentation about getting Camping apps running on Media Temple''s GridServer? Of course I''ve found the Camping server page[1], but I can''t work out how to associate running camping apps with a (sub)domain
2007 Nov 23
1
SuperRedCloth inserting <pre><code>
I maintain a web application frozen to version Ruby 1.8.6 and RedCloth 3.0.4 Whenever I insert a newline followed by a white space, SuperRedCloth, wraps the text with <pre><code> tags. Say for example I write ############### Hi This is me ############### This piece of text gets translated to <p>Hi</p><pre><code>This is me</code></pre>
2015 Feb 10
2
Dovecot 2.2.15 issues with global ACL
Hello, We have upgraded from Dovecot 2.2.13 to 2.2.15 and we are using global ACL file. The content of the ACL file is as following: * owner r INBOX owner lrwstipekxa INBOX/* owner lrwstipekxa user owner rwstipekxa user/* owner rwstipekxa This worked fine but after update any user cannot see any folders from under the INBOX, also they cannot create any new folders. Error into the logs are
2005 Dec 30
6
Suggestion for New User
I, like many people, am starting to learn Ruby because of Rails. I am going through several tutorials and am understanding the concepts without too much difficulty, but the one area I am having trouble with is learning the new language. I am not a trained programmer. Rather, I learned how to program out of necessity and therefore lack some of the background that many of you have. I am
2008 May 13
4
hard_breaks issues
Hello, I''m new to this list, so first of all, many thanks to RedCloth''s developers, it really helps me in many ruby apps :-) I post here because I''d like to have a clear view on "hard_breaks" related issues. I saw old references on the web and on the archives on this ML, I''d like a fresh view ! It seems that RedCloth 3.0.4 does not handle
2006 Dec 23
7
OT: any recommendation for scripting language
Right now, I am using SAS and S+/R. As a new year resolution, I am planning to learn a scripting language. from statisticians' point of view, which scripting language is worth to learn, perl, python, or any other recommendation? (Most likely, I will be learning it in windows.) Since I am not in research, I will prefer one widely used in industry and related to statistical work. if you
2012 Nov 21
2
Moving file after transfer
Hi, I\m writing a VFS module that needs to move a file, after it is transferred, to a folder that is not shared. The shared folders that use this VFS module are used to sent files for processing by another application. The module signals the application that it has work to do and moves the file. So far I've been using the last close call, moving the file after doing SMB_VFS_NEXT_CLOSE().
2006 May 22
0
+ camping 1.4.103 and markaby 0.4.55
Consider this Camping 1.5 pre-release. gem install camping --source code.whytheluckystiff.net Look for: * The new Markaby features. <http://redhanded.hobix.com/inspect/lessMethod_missingInMarkaby.html> <http://redhanded.hobix.com/inspect/markabySMagicPermeationBranch.html> * The Camping::FastCGI class. * R(C, ...) properly escapes wacky arguments. _why