Displaying 20 results from an estimated 1100 matches similar to: "Newbie question - Rails without database"
2006 Mar 20
22
Applicationwide BusinessObject/Hash
Hello,
I''m a total newbie, so please forgive my ignorance.
I am trying to port an application from java to ruby. In order to do that, I
need to put the object containing all the business logic into something like
application scope.
The nicest solution would be just to have an application wide hash, where I can
put all kinds in of objects.
Where and how would I instantiate such an
2006 Jul 09
4
concurrent ajax requests
Hello,
maybe someone on this list can help me. I am trying to implement a sort of long
database search. In order inform the user about what''s happening, status
messages should be displayed to the user while the request is working.
e.g.
- starting search process
- currently searching through database A
- found 10 results
- currently searching through database B
- found 25 results
-
2006 Feb 23
5
Q: Where to put a periodic updater?
Hello,
I need to put a script in place for updating a local database with a
remote resource periodically. It should be started alongside the
server (or inside it, whatever) and be run as long as the server
running my rails app is up an running.
Any thoughts on how to accomplish this?
I have thought of editing the environment.rb file and placing the call
to the script trigger there, but I wonder
2006 Mar 23
7
Fixtures just Do Not Work for Me
Hello,
I have been struggling to get fixtures to work here with no success.
They just Do Not Work For Me (tm).
I have created a model named Headline with the `generate'' script and
modified the test/fixtumes/headlines.yml as follows
----------
gita:
id: 1
author: raulseixas
title: gita
happened_at: 2005-01-01 00:00:00
description: gita
This is the CD reissue of
2006 May 14
3
hi all
Not much I can say except that I am very excited to enter this new
world(solely for me of course, kind of late) of rubyonrails.If anyone
has any patience or just plain kindness to help me on my first steps
(leaps?) , I would greatly appreciate any links, references, tips,
hellos, or whatever else is offered.
Thanks ahead of time,
Shai Rosenfeld
Octava
I
-------------- next part
2006 May 28
8
a newbie question, if possible to help
i was wondering if anyone can help me form a very simple "if" statment
in the controller...
i did a usual scaffold for table ''pages'', and everything is working out
well, i did the main site ''backbone'' and all, and everythings
good....the thing is, now i need to make sure that the site-admin does
not have the possiblity to destroy page 1 or page 2.
2006 May 30
2
Hi , Anyone From Singapore?
Hi All ,
I been trying out RoR and reading the mailing list for
sometimes and wondering if anyone of you guys from Singapore ? I am
thinking of a meetup or something for RoR fans here. If you are , pls
contact me by my email ? Thank you very much.
regards
billy
PS : Apology for sending non-ruby question email in the list.
2006 Mar 14
6
Framework
hello all,
I need any framework that generate models using the database
structure....
Anyone knows if have this framework????
Thank''s
--
Posted via http://www.ruby-forum.com/.
2006 Feb 23
5
Web/HTTP Testing
Hello,
I am looking for a user test automation tool. When I say ''user'', I
mean it should mimic the user interacting with the app. That
ultimately boils down to a tool that drives a browser or is able to
make http requests and allow us to deal easily with the responses.
Our requirements are to be able to write the tests in Ruby (no need to
switch to other language for test
2006 Apr 10
6
image_tag adding request parameter
I have noticed that the image_tag helper method now appends a request
parameter to the generated src attribute. With Rails
1.0/actionpack-1.11.2 I had
<img src="/images/rss.gif" />
Now (1.1/1.12.1) I get
<img alt="Rss" border="0" src="/images/rss.gif?1142366545" />
Is there any use for that number? Where does it come from?
This is very far
2006 Jun 01
3
how can i redirect a person after a login
i built my own login system, but unfortunately, i am having problems
(ie, can''t really figure out how) to redirect a person back to the page
he was requesting before logging in...say, as the admin i want to edit a
certain message/logo, whatever, so i click on it, and i get redirected
to my login page. after the admin logs in, he gets redirected to the
homepage - i couldn''t
2010 Feb 04
7
Virtualization software to install Windows as guest on CentOS 5 as host ?
Dear All
I need to install Windows as guest on my CentOS 5 as host . Can you please give me the link to download the requierd rpm package for this purpose ?
Thank you
_________________________________________________________________
Hotmail: Powerful Free email with security by Microsoft.
https://signup.live.com/signup.aspx?id=60969
-------------- next part --------------
An HTML
2009 Dec 07
1
Cucumber and general Ruby question
Hello,
I have this cucumber step definition:
Given /^the site has pages "(.+)" and "(.+)"$/ do | page_1, page_2 |
Page.create :title => page_1 if Page.find_by_title(page_1).nil?
Page.create :title => page_2 if Page.find_by_title(page_2).nil?
end
This works, but obviously I would like to DRY it up. I was thinking along
the lines.
Given /^the site has pages
2006 Mar 30
6
Stable Production Environment on Unix/Linux
Hello,
I wonder what would be the most stable production runtime environment for a
rails application on Unix/Linux. I am not very fond of FastCGI indeed, since
it''s not seen any further developement lately.
What are your experiences e.g. with the mongrel server? Has anybody used it for
production?
What are the alternatives?
May be some fine lad could just point me to web site
2006 Aug 04
1
Motiro 0.4.2 released
Motiro is a tool for tracking software projects. It has borrowed its
name from an ancient tupy word meaning a work gathering. Motiro is a
time when people get together to collaborate on a common goal such as
harvesting food or building houses.
I have been working on this little thing for some time now on my spare
time. Version 0.4.2 is the seventh release, it features a Subversion
front end, an
2006 Jul 18
6
backgroundrb - Connection closed
Hello,
maybe someone can help with backgroundrb. I''ve written an application, which
makes use of backgroundrb. Everything works fine on my development machine, but
it crashes on my production server.
Something seems to be wrong with backgroundrb, but I don''t know the cause. All I
get is the error message attached below, which is extracted from the production.log.
I
2006 Mar 27
1
Tests not tiding up after themselves?
Hello,
My tests are messing with one another because it seems that they
aren''t cleaning the database after execution. I have the tables
headlines and articles. And the articles table has a foreign key to
the headlines table. My schema structure is created by this script
----
drop table if exists changes;
drop table if exists articles;
drop table if exists headlines;
create table
2004 Jul 16
2
where to sign up for fwd
Could someone please point me to the proper url to register for a fwd
acount and get a fwd number. I couldn't find it at
www.freeworlddialup.com or fwd.pulver.com
Thanks,
-Galt
--
"They that would give up essential liberty for temporary safety deserve
neither liberty nor safety."
Benjamin Franklin
2006 Jun 29
6
adding a before_filter to static content
Hi,
I have a Rails site that uses a before_filter in the application
controller that does some authentication and authorization work.
I also have a bunch of HTML in folders in the application''s public directory.
Before a user can view anything in the public directory, I''d like to
authenticate them. How could I do that?
I''m using mongrel, if it matters.
Thanks,
Joe
2006 Mar 27
4
How to create a daemon in a rails app
i want a daemon will check somthing every 10 minute
how do this in rails?
--
Posted via http://www.ruby-forum.com/.