Displaying 20 results from an estimated 3000 matches similar to: "A good tutorial"
2006 Jun 17
4
Simple tutorial weirdness
Sorry - working on a simple tutorial but something is throwing me
here. I''m supposed to get a Time.now() print to the page but it''s not
working and I can''t figure out why.
No errors are thrown my the page shows:
Howdy, world! My name is Stuart Felenstein.
This was verified at .
So no time stamp showing. I went into IRB , did a Time.now() and it''s
working
2006 Jul 15
2
Migrations question
I started working on an app. It''s new at this point so backing up
wouldn''t be difficult, however I''m wondering if there is some plugin
that exists where I can use it to grab the current database (set up
without migrations) and create a migration file ?
Sort of grab a current snapshot of the database and use that as a
stating point for my migrations directory.
TIA
Stuart
2006 Jul 06
5
Building a standalone application with RoR
Hello,
I have to code a small application for a car repair shop running under
Windows (98 SE but may be my client could upgrade to 2000) and using RoR
is my definite choise !
The app will be powered by WebRick (which is enough powerfull for a
small app used by only ONE user at a time)
My questions are targeted to the best database to use... I had a look to
SQLite and Firebird but support
2006 Jun 13
5
Can RoR handle a lot of traffic?
And compared to PHP?
--
Posted via http://www.ruby-forum.com/.
2006 Jul 06
5
What is protected?
In http://www.aidanf.net/rails_user_authentication_tutorial there is the
string/method
protected
in the model. What does it do? Can''t find that in
http://api.rubyonrails.org/.
--
Posted via http://www.ruby-forum.com/.
2006 Jun 07
16
How dows RoR work?
This is so frustrating. Is RoR that easy to learn or is it hype or is it
just me? I wonder how many newbies like me are surfing the docs trying
to get a clue of the basics. Every tutorial I find is much the same, and
seems to skip the fundmental parts. How should you understand the Ruby
API http://api.rubyonrails.org/?
What is < ActionController::Base? Can''t I set a cookie under
2006 May 24
5
Starting on the Ruby Rails path
Hi all, I''m a web designer/-developer. I found Ruby and Ruby on Rails,
and as I can understand (for now) this is what I''ve been looking for.
I''m really exited about this. Prior to this I''ve used Lasso and PHP.
But a few questions (sitting on Mac OS 10.4.6). I tried to install
according to this:
2006 Jul 15
4
learning from typo.
i have a copy of the typo source on my desktop that i am going through
just to get a better understanding of the rails framework and ruby
itself. i''m fairly new to everything so it has proved to be very helpful
and very inspiring.
i''m stuck on a part though. i was trying to figure out how everything on
the sidebar works. i found the components folder and started looking
2006 Jun 07
10
RoR with Apache2 - performance?
How is the performance running RoR with Apache2 compared to running it
with PHP?
--
Posted via http://www.ruby-forum.com/.
2006 Aug 17
4
Migration newbie
In an migration file there is one up and one down method. Below is from
Agile Web Development with Rails:
class CreateOrderHistories < ActiveRecord::Migration
def self.up
create_table :order_histories do |t|
t.column :order_id, :integer, :null => false
t.column :created_at, :timestamp
t.column :notes, :text
end
end
def self.down
drop_table :order_histories
end
end
Why is there a drop
2006 Jul 07
2
How does layouts work?
When creating a scaffold you get a layout file. How does it work? I
thought I would find the var @content_for_layout in the controller, but
I didn''t. Where is layouts defined or controlled?
--
Posted via http://www.ruby-forum.com/.
2006 Feb 23
6
lighttpd on mac for local development
I''m having trouble installing lighttpd for local development on Mac OS X Tiger.
Here are the commands I''ve run:
sudo port install fcgi
sudo port install lighttpd
Here''s a snippet from running "port installed" with several ports
removed for brevity:
fcgi @2.4.0_1 (active)
lighttpd @1.4.9_0 (active)
rb-rubygems @0.8.11_0 (active)
readline @5.0.005_0+darwin_8
2006 Jun 15
3
rails-based blog roundup
I''m considering rolling my own rails-based blog, but want to take a
look at what''s available first. Here''s what I know about:
Typo
http://typosphere.org/
Simplelog
http://simplelog.net/
Mephisto
http://weblog.techno-weenie.net/2006/6/12/mephisto-out-in-the-wild
Am I missing anything??
Thanks,
-TJ
2006 Jun 07
4
Table names
Can I use the table name "adm_users" (mysql)? Will that give the model
name "adm_user"? Or should it be "admusers" and "admuser"?
--
Posted via http://www.ruby-forum.com/.
2006 Jun 03
2
Two Announcements - Beta Book and a Rails magazine!
Two announcements, so I''ll split this post into two pieces:
MR. NEIGHBORLY''S RUBY AND RAILS NOW IN BETA
=========================================
My Ruby on Rails book is now in beta. You can roll on over to the
website for more information and pricing:
http://www.rubyonrailsbook.com/
Here''s a rundown: Beta eBook is available now, print hopefully in July
sometime.
2006 Jul 14
6
Don''t understand :: in ActionController::Base
Maybe this should apply to Ruby forums directly, but I''ll try here.
I understand the concept of classes and subclasses thanks to the
excellent "Programming Ruby - The Pragmatic Programmer''s Guide".
However, I don''t understand what :: signify in terms of inheritance,
parent and child in e.g.
ActionController::Base
--
Posted via http://www.ruby-forum.com/.
2006 Jul 07
1
Style on _fields
How can I modify the style of a RoR field like text_field or
password_field? I can use input in css, but how do I add a class?
--
Posted via http://www.ruby-forum.com/.
2006 Jun 07
1
What is class TestController < ActionController::Base
What are the different parts of; class TestController <
ActionController::Base?
I look at the http://api.rubyonrails.org/ and try to understand but I
don''t. Could someone give me a hint?
I get the part of Test being the "folder", def and all that, but I can''t
find an explanation of the basic stuff.
--
Posted via http://www.ruby-forum.com/.
2006 Jun 15
25
[Very OT] MacBook defects: should I buy a MacBook?
Hello,
First and foremost sorry for off topic message, but I thought maybe
you smart guys can help me to decide about purchasing a MacBook or
not.
I was going to buy a MacBook but I found a story on digg.com about
case discoloring and after googling the subject I found MacBook
defects:
http://www.appledefects.com/wiki/index.php?title=MacBook_Pro
I''m totally confused, should I buy it?
2006 Jun 13
4
mysql gem not buidling on OSX 10.4.6
When I `sudo gem install mysql` I get the following:
--snip--
$ sudo gem install mysql
Attempting local installation of ''mysql''
Local gem file not found: mysql*.gem
Attempting remote installation of ''mysql''
Updating Gem source index for: http://gems.rubyforge.org
/usr/local/lib/ruby/1.8/yaml.rb:133: [BUG] Segmentation fault
ruby 1.8.4 (2005-12-24)