Displaying 16 results from an estimated 16 matches for "ronr".
Did you mean:
ron
2006 Jan 17
8
Next Record
Okay, I know this will probably be a very easy question. But I am
discovering that RonR makes just about everything easy. The problem is,
it takes me a few hours to figure out that I can do it the easy way.
I need to know how to move to the next record in a database. I want to
format my out put in a table. For example, I want a 3 by 3 table. So
record one goes in the first cel...
2006 Apr 26
5
remote ruby
...'m building a collection of desktop app''s and want to use ruby, and
Active Record in particular, as an intermediary layer to my
databases. I''m not sure how to connect my development environment,
Runtime Revolution, to Ruby and Active Record.
One option is to just set up a RonR environment and have my app''s
make calls that return regular text results instead of html pages,
but I haven''t looked into how to do that yet. There are some
downsides to this, including preventing any local ruby code.
Another option would be to make socket calls to a local R...
2007 Apr 10
1
AWD page 624-626 Understanding how Apache, Mongrel and Rais work together?
...''Big Picture'' of how Ruby on Rails
applications are deployed and operate in distributed environment (one
deployment server, many remote servers).
I follow AWD by Dave Thomas'' explanation from pages 624-626. From
reading these pages I have these questions;
1. How does the RonR instance on the ''remote'' server gain access to
the program logic to process the HTTP request?
2. Is Mongrel the actual program running that receives the HTTP
request and runs the code against the RonR libraries and the
application code?
3. How does Mongrel know where the '...
2006 Feb 10
14
dynarch calendar and calendar helper usage
I am playing around with this and reference this wiki from RonR site...
http://wiki.rubyonrails.org/rails/pages/CalendarHelper
The error I am getting is:
NameError in Placements#list
undefined local variable or method `date_format'' for
#<PlacementsController:0xb78f9ef4>
RAILS_ROOT: script/../config/..
Application Trace | Framework Trace | Fu...
2006 Feb 23
12
RoR site structure on Apache
I try a ''hello world'' demo here,you can see all my codes and structure
http://www.smtservers.com/demo/
I want to access the ruby app like this
http://www.smtservers.com/demo/say/hello
but I get a 404 error.
Please let me know why.
I am not sure the site structure is ok or not.Please give me a help
Thanks
Mark
--
Posted via http://www.ruby-forum.com/.
2006 May 12
3
Permission denied ruby_sess?
I am really new to RonR. Anyone can give me a hand with this?
I get the Application Error page and if I look at development log, this is
what I see:
Permission denied -
/home/john/public_html/rails/myapp/public/../config/../tmp/sessions//ruby_sess.5b90dd63b9d25d2e
Any idea?
-------------- next part --------------
An HT...
2007 Nov 27
9
New to RonR...
Hello,
I''ll try to keep this short BUT, I''ve got little/no experience with
programming. In fact, my only background is using Cold Fusion (since
1996 and VERY little of that for the past 5 years as I''ve been playing
as a Manager-type at my jobs so I haven''t had to do any hands-on stuff
for a while).
My question: Would Ruby on Rails be a good platform to get
2006 Jun 24
7
Newbie Q: "user" variable in every view?
...t I have access to this user
automatically in every view. What is the generally recommended way of doing
this -- should I put a call to this method in the constructor of the
controller and assign it to an instance variable there? Or should I put it
in a view helper instead?
Thanks for any tips...RonR is proving to be pretty awesome (I guess you all
know that), so glad to be getting into the swing of it.
Will
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060624/62576178/attachment.html
2006 Jan 03
0
installation using proxy
hello,
I''m new to RonR. I tried installing rails using the --http-proxy option.
I typed this on the command line:
`gem install rails --http-proxy username:passowrd@proxy-address`
It retturned an error,
ERROR: While executing gem ... (NoMethodError0
undefined method `proxy_open'' for #<URI::Generic:0x2...
2007 Apr 28
0
Join Thetis - Groupware more than just a Groupware -
Hi,
I''m developing a groupware "Thetis" by RonR, and released it as an
Open-Source Software under New BSD Lisence. In it implemented almost
all basic elements in the way as simply as possible.
Please evaluate or take part in enhancing it!
Home:
http://sysphonic.com/en/thetis.html
SourceForge.net:
http://sourceforge.net/projects/thetis-sysph...
2006 Feb 08
2
Installing Rails on FreeBSD with Apache (and php)...
Hi,
Sometime in the near future I''m going to attempt an installation of
Rails on one of our school servers, so that a few of our most talanted
students also will have the opportunity to learn RoR. The problem is
that I''m not entirely sure on the best way to proceed, and I''m the only
teacher on the school with Rails experience, but only for Windows.
The server runs
2006 Jun 26
5
Newbie question about Agile Rails book - Delete from cart
I have been working through the Agile Web Development with Rails book
doing the Depot tutorial. I have completed it and it works but I cant
say I understand how and why.
My question is this "After adding products to the Cart, how do I then
give users the option to delete just one item and not empty the whole
cart?"
I''ve been playing around with all sorts of code, just making
2008 Nov 21
5
Getting the number of years between two dates
Hey,
I need to get the number of years (as a number) between two dates. Here is
what I have as a helper.
# Returns the number of years between now and the specified date.
def years_ago(date)
dateDifference = DateTime.now - date
results =Date.day_fraction_to_time(dateDifference)
return results[0] / 24 / 365;
end
I''m sure there is a better way to do this. What is it?
2005 Mar 13
1
Semantics of push_with_attributes
In trying to add timestamp support to habtm, I''ve stumped on a question
which I hope you all help me solve.
And that is, when adding a record twice to the list of associations with
push with attributes, should the following test succeed or not?
def test_pushing_twice
dev = Devel.new("name"=>"victor")
p =
2005 Jan 25
4
Collection_select with multiple options
Hi,
I have built a select field that allows multiple options selected with
collection_select and "multiple"=>"multiple". How do I go about
receiving the values? If I use a variable name like collection[], it
complains that I can''t use @collection[] as the instance variable.
TIA
victor
2005 Mar 07
6
Automatic timestamping in join tables [596]
Hi,
A few days ago I submitted the following ticket
http://dev.rubyonrails.com/ticket/596
asking that ActiveRecord::Timestamp also apply for the join tables of
habtm.
The answer was that it was left for milestone 1.x, and since I think
that without this functionality rails 1.0 would be incomplete, I''m
raising the issue here to discuss it.
My use case is very simple, I