Displaying 20 results from an estimated 10000 matches similar to: "how to -- newbie"
2006 Feb 07
3
Newbie help ..
Hi ..
I am new to Rails and it is not clear to me why I am getting the
following error. Any help appreciated.
-m.
$cat app/views/admin/new.rhtml
<% @page_title = "New member..." -%>
<%= start_form_tag( :action => ''create'' ) %>
<table>
<tr>
<td> First Name: </td>
<td> <%= text_field(
2006 Feb 07
1
displaying foreign keys help request
Hi ..
(I seem to be having some problems getting my posts to the list for some
reason. Sorry if you see this as a repost).
A conceptual question this time.
I have the relation:
member (m)---(1) member_type
The schema looks something like this (simplified + PGSQL)
create table member_types (
id serial,
info varchar( 20 ) not null,
primary key( id
2006 Feb 07
0
newbie -- displaying foreign key
Hi ..
A conceptual question this time.
I have the relation:
member (m)---(1) member_type
The schema looks something like this (simplified + PGSQL)
create table member_types (
id serial,
info varchar( 20 ) not null,
primary key( id )
);
create table members (
id serial,
first_name varchar( 100 ) not null,
2006 Feb 06
35
ROR Recipes Beta
Yesterday I got the beta version of ROR recipes book and the recipes are great. For those of you still thinking about it, I highly recommend the book.
The only thing I wish is that if there were some more recipes (greedy me), especially AJAX related and installing an application within your current application.
For instance, it will be great to see how one can implement the typo blog
2006 Feb 25
2
newbie advice
Hello Everyone -
Newbie here. My programming experience is primarily SQL, SAS (if anyone
knows that), and a little tiny bit of ASP. Want to get going on Rails.
Any suggestions? Was thinking of "4 Days on Rails". Thoughts?
Thanks - Brian
2006 Apr 04
2
xend connection refused
I just booted Xen unstable (2.6.16 kernel) and Domain0 is running fine,
all on Debian 3.1 Sarge unstable on amd64. I can''t do much else:
Error: Error connecting to xend: Connection refused. Is xend running?
What''s wrong and how do I fix it?
--
Neal Probert (nealzilla@probestar.com) aka Niall Lundkvist
2010 Mar 19
3
[OT] Small touch screens that works with CentOS
Hi,
We want to display on a small LCD screen next to our meeting rooms and optionally let people book the room from the panel. We looked at different providers and those solutions either works with Exchange or Lotus Notes...
Since I already have code to fetch events from any CalDAV/WebDSV servers, I'm looking at building the system myself. So I'm wondering if any of you can recommend
2006 Apr 24
3
Rails Recipes Book: Routing Error
Hi,
I''m working on the first rails recipe, InPlaceEditing, and following the
instructions very carefully. After generating the scaffold for Contact,
I then go to the page, thus:
http://localhost:3000/contacts/
I get this error:
Routing Error
Recognition failed for "/contacts/"
What should I be checking for to resolve this problem?
Thanks.
--
Posted via
2006 Feb 21
7
Self-referencial habtm relationship
Heyo!
I am setting up a self-referencial habtm relationship with the users
of my app. I am using Chad Fowler''s "Rails Recipes" to get me started,
and everything works great with the join table "people_friends". I add
friends by doing somebody.friends << somebodyelse. However, with my
app, there is an approval process so my join table has columns
person_id,
2006 Feb 06
4
Relationship Question (STI)
My girlfriend and I have been dating for two years, and she just told me she
has an STI...
Actually, I currently have three different models, like: Dog, Whale, Monkey
They all have some similar attributes, but, they are unique enough to
break into their own models. I could use STI, but I think the table would
just have too many columns.
Now, I wanted to let the Dog''s, Whale''s
2006 Feb 06
6
ActionMailer - ROR Recipes - Multipart/alternative
I am using the SaltedHashLoginGenerator. and would like to send the e-mail in multipart/alternative format.
By default my application is using forgot_password_en.rhtml template.
I read in the ROR Recipes book
"ActionMailer sees these templates, recognizes the pattern in their
file names, and automatically sets the MIME type of the message to
multipart/alternative and adds
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.
2010 Aug 18
2
RSpec 2/Rails 3 - content_for in view specs
My main layout includes separate content_for/yield sections for my header,
sidebar, footer, and content. However, when running a view spec, the
`rendered` variable seems to only contain a string of just the primary
content and ignores the header/footer/sidebar as well as the rest of my
layout file (the "render" call just returns my primary content wrapped in
generic <html> and
2006 Mar 08
3
migrations schema_info table, Rails Recipes Bug?
I have the rails recipes book and i was going through the migrations
recipe. Everything seemed to work except for the last part in trying to do
a rake migrate with a migration file version 1 and the schema_info version
set to 0. Without the force attribute, the rake migration fails, as
expected.
So the recipe says to run this:
ruby script/runner
2006 Feb 03
33
[ADV] Rails Recipes Beta Book is now available
I''m delighted to announce that Chad Fowler''s new book, Rails Recipes,
is now available
as a Beta Book.
This is a great title for folks who know Rails, and for folks who
want to get the most out of Rails. It contains detailed recipes for
doing real-world things with Rails, all illustrated with working
code. Some examples are drawn from Rails 1.1, the rest from Rails 1.0.
2006 Mar 31
3
RJS templates outputting bloated code?
I''m an RJS newbie. I just did the tutorial at
http://www.codyfauser.com/articles/2005/11/20/rails-rjs-templates, and
then used wget to look at the output the RJS template generates. This is
what I got:
try {
new Insertion.Bottom("list", "<li>Fox</li>");
new Effect.Highlight("list",{duration:1});
Element.update("header", "RJS
2006 Feb 27
1
@content_for_sidebar?
Okay, I see this instance variable places, but I can not determine if it is real
or where the content comes from. I''ve tried views/<controller>/sidebar.rhtml,
_sidebar.rhtml, views/layouts/sidebar.rhtml and views/layouts/_sidebar.rhtml.
Does this actually exist? What''s the Rails Way to make a good sidebar?
http://www.google.com/search?q=content_for_sidebar
Thanks,
2005 Dec 26
4
Books for Beginners
I have experience in PHP/MySQL, but absolutely no experience at all in
Ruby (and Rails) and would love to get a few quality books aimed at
absolutley newbies. Any suggestions?
Thanks,
Jim
--
Posted via http://www.ruby-forum.com/.
2007 Jun 21
1
render :partial => :url - is it possible?
Hi, this is my first post to the list. I''m still learning the rails
framework, having done most of my previous web development in PHP. I''ve
done a bit of googling for the answer to this question, but maybe I''m
just lacking the right word to search for.
Several parts of my site, such as sidebar components, are
self-contained, modularized and re-used in several parts
2006 Mar 29
2
Extreme newbie
Hi, I have absolutely no web programming experience
(know basic html and have some ancient c++ experience)
and am interested in learning Ruby on Rails to get me
going quickly. What''s the best way to approach
learning rails for an absolute newbie? I''ve looked
through the tutorials available through the Ruby on
Rails site, and even these are just beyond my level.
Thanks,
John