Displaying 20 results from an estimated 9000 matches similar to: "Question: SVN the down and dirty"
2006 Jul 16
3
OT: Radrails
Sorry, but I have tried signing up for the RadRails list and never can
get a confirmation email. I think it may not exist.
Anyway, I created a project using just cli, now I''m trying to import
the project with no success. I choose the directory and radrails just
sits there not enabling the okay button
Sound familiar ? Maybe I''m doing something wrong.
Stuart
2006 Jun 09
18
Is IRB the ruby console ?
I''m running script/console but keep getting the message that irb.bat is not
recognized as an internal or external command, operable program or batch
file.
If it means anything I am running instant rails. I can invoke irb straight
forward.
TIA
Stuart
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2006 Mar 07
5
subversion help!
I created a subversion repository on my new vps and i''m trying to setup my
rails app there. However i keep getting this error:
subversion/libsvn_subr/io.c:2516: (apr_err=13)
svn: Can''t create directory ''/home/svnadmin/rapleaf/db/transactions/0-1.txn'':
Permission denied
How do i fix this? I know others have had this before, so i would
appreciate some help.
2006 Mar 09
6
svn and ruby structure
I just set up svn and did a checkout.
When I set up the repository, I did an import of the entire base
directory of the rails application which was great because it allowed me
to do a checkout on to my computer with everything.
Of course, now on my home computer, I''ve got a changed database.yml and
environment.rb and the log files (because I''ve been running a copy on my
home
2006 Aug 11
9
Getting Really Started with Rails - Tutorial styled Slides Available
For those that missed out joining the amazing turnout of ~70 people here in
Vancouver for the mini-workshop I did on the 27th last month, I am making
available the 30 slides I used for the presentation.
The slides were used in conjunction with me demonstrating it via command
line. Alot was learned by both attendees, and quite possibly even more so by
myself while teaching the material.
I created
2006 Aug 02
4
RadRails and EdgeRails
Anyone know how to setup EdgeRails with RadRails ?
Stuart
2006 Jun 08
19
Agile Web Dev (book) question: errors
This is kind of frustrating (but no doubt helpful in the long run) that
after following along and coding , and d/l the code the same error is
appearing.
For those who are familiar with the depot app, I''ve run into a problem after
fixing the cart to reflect quanitites. I worked through the intended error
messages but now have this appearing:
SyntaxError in StoreController#add_to_cart
2006 Jun 12
3
Syntax errors on "insert into"
I''m digging around and googling but can''t seem to find what I think is a
simple thing. All I''m trying to do is insert data in a migration into a
table, using regular SQL statements.
LIke this:
class AddStateData < ActiveRecord::Migration
def self.up
INSERT INTO states values ('''',''Alaska'');
INSERT INTO states values
2007 May 20
1
SVN & Capistrano
I have my svn repository set up locally and working properly. I
followed the instructions for local SVN deployment w/ capistrano
(http://blog.wolfman.com/articles/2006/12/06/a-capistrano-scm-module-
for-local-svn-access). I am able to connect to my server, however, it
doesn''t put anything in the releases folder. Why is this?
Also, in deploy.rb I set the repository to:
2006 Mar 16
3
Windows Deployment on Unix
Hi!
Can anyone give me some pointers on how to deploy a Rails application
developed under Windows with RadRails at a Unix Host (Textdrive).
I?ve heard of switch tower, but have never used it. Does it have a routine
to convert my Windows Carriage Returns/Line Feeds to Unix style? Is there
something else I should know?
Also, if somebody can point me to a good tutorial on setting up Rails to
2006 Jun 13
11
Question: Migration - multiple creates
I want to create a migration file that creates multiple tables, so i''m
guessing the correct format would be:
Can anyone confirm ? I''m guessing that each new create script requires a
seperate class so formatted this way. Perhaps I''m wrong.
TIA
Stuart
class CreateTable1 < ActiveRecord::Migration
def self.up
create_table :table1s do |t|
t.column :length,
2006 May 03
8
Subversion and tmp directory in Rails 1.1 project
Hello everyone!
I''m thinking of the right way to store tmp/ directory of Rails 1.1
project in Subversion. It has cache, session and sockets
subdirectories. To me, it looks good to have
svn delete tmp/*
svn propset svn:ignore "*" tmp
So it will ignore all directories and files in tmp/. Even if you
create sessions/ and put some files in it, tmp/ content is still
ignored.
But
2006 Apr 01
4
Saving images in shared directory w/ Capistrano/SVN?
Hi all,
I''m using Capistrano and SVN to version control and deploy, but I''m not
sure what to do about my images directory. I use file_column and
RMagick to save images to the disk under a model called "Image", and
they''re saved in public/image/... etc.
Each time I deploy a new version, my image folder doesn''t exist anymore.
I don''t want
2006 Aug 07
8
Login form question
I''m using Rails Recipes to create a login form but instead of username
and password, my setup is firstname, lastname, password.
I seemed to be gramatically challenged and not sure how to set up the
parameter list. Can anyone offer up a suggestion.
The book shows the method starting like:
if request.post?
user = User.find(:first, :conditions => [''username = ?'' ,
2006 Aug 08
11
Newb question- method not working
I know this shouldn''t be in the view but to test the code it is.
Anyway if I do just session[user] I get back the user id (the id from
the user table)
which is good.
However this code does not work.
<% a = session[:user] %>
<% uname = User.find(:first, :conditions => id = a) %>
<%= @uname %>
TIA
Stuart
2006 Jul 14
20
Method for associated relationships
I have these tables set up like this:
listings has_many :states
<field>state_id [int]
<other fields....
..............
.............>
states belongs_to: listings
<field>name
<other fields..
...............
.................>
In my view I have <%= listing.name %>
have also tried listing.state_id.name , that didn''t seem to do the magic
either.
This
2006 Jun 14
13
Undefined method
I really hope this is not a bad question (as in he''s abusing the
list). However I could use a little direction (even though I''m
reading books, tutorials)
Right now I''m getting a
undefined method `category'' for 4:Fixnum
The specific lines from the rhtml file are:
<td><%= link_to position.category_id.category, :action => "show", :id
=>
2006 Aug 03
5
How to open rails application/proj in RadRails
Hey I am not finding any option for opening my Rails project in RadRails.
I tried import, open file ........ all in vain !
please help!!!
Anil,
http://anilw.info
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060103/c70c86b3/attachment.html
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 Jun 23
16
Help please-draggable
I asked the other day about this problem but haven''t received a response.
Trying again:
I just downloaded 1.6 and can''t get a simple draggable to work, which
is weird. I know it''s not my browser since the demos are working.
Here is my simple code. I''ve also had the "new Draggable" between
the select tags. Didn''t change anything.