Displaying 20 results from an estimated 4000 matches similar to: "Building a standalone application with RoR"
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 Jun 14
13
A good tutorial
Are there any other tutorial than "Agile Web Development with Rails"
that you can suggest? So far I can''t say that RoR has been easy to
learn. :-)
--
Posted via http://www.ruby-forum.com/.
2006 May 17
6
White Screen of Death
Hello, I''ve heard these words to describe a RoR application returning an
empty page.
This happen from time to time even here, in the forum.
That is the cause of this misbehaviour ? Is it related with something
external to RoR itself ?
What is the solution to avoid the WSOD ?
--
Posted via http://www.ruby-forum.com/.
2006 Aug 04
8
I need an idea !
Hello here, I need to find an idea to solve a problem
I manage Events which are of kind :arrival or :departure
At first the two kind of events was unrelated but my client want to see
the :departure belonging to the :arrival and vice versa.
I''m searching for a solution to implement this ''link''. I''ve thought
about an integer column containing an uniq id for
2006 May 26
6
Help needed with acts_as_list
Hi ! There must be something I don''t understand clearly in acts_as_list
I have a list of gallery entries (images + text), model is GalleryEntry.
I have a field in_exhibition (boolean)
I want the list to be sorted with a scope on in_exhibition : from 1 to N
for every record having in_exhibition = false and 1 to N for every
record having in_exhibition = true
When I use acts_as_list
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 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 May 17
12
Help with Apache config
I have been attempting for days to configure Apache for Rails. I have
read forums, followed How-To''s all in vain. I am hoping someone can help
me out. I am getting the Rails Welcome screen, but when trying to go to
any other url, I get the 500.html message. Take a look for yourself at
http://66.139.78.237 and click on "about your application''s
environment".
2006 May 15
3
Are the hashes faster than activerecord finds ?
Hello, I need to store somewhere one hundred of static ressources text
field (internationalization).
I wonder if it better to put them in a database or in a hash defined at
app startup (in environment.rb)
I would go to the second one, but am I right ?
Thanks
--
Posted via http://www.ruby-forum.com/.
2006 Apr 20
2
Firefox JS Console unusable
Hello, I wonder if somebody else is experiencing the same problem :
Firefox''s Javascript console is unusable with RJS or Scriptaculous
libraries.
Every time I want to use it for debugging purpose (evaluating $ or $$
calls for example) I get a message stating that a script on the page
must be stopped. If I stop that ''script'' (which script it is ?) the
console is
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)
2006 Aug 08
8
Generating a unique id ?
Hello, I need to generate a unique ID, so far I''ve unit tested this
under 100000 iterations and it seems to work :
now.to_i.to_s + ''-'' + now.usec.to_s + ''-'' + rand(1000).to_s
Is there a better way ?
Thanks
Notes :
1) without usec, few percents of generated values are not uniques
2) the id generated is a string so the presence of
2011 Aug 07
2
PROBLEM WITH PAPERCLIP
hello,
i am trying to upload a image file ...using paperclip in rails 3
i did as follows
1. In gemfile => included gem paperclip
2.In config/environments /development.rb => Paperclip.options[:command_path]
= "/usr/bin/" (convert path)
3.created a controller *picusers *and defined => def create
@picuser = Picuser.create(params[:picuser])
end
4.created a model *picuser
2006 Jan 14
11
accessing models from migrations
Ok, so now Users need to be associated with Organizations. I''ve
created a migration and added a ''organization_id'' column to the users
table. I want the default organization_id to be the first
Organization. So I have :default => Organization.find(:first). But
it''s complaining about not being able to find the constant
''Organization''.
Any
2006 Jul 05
4
Hosting client applications - part time developer
I do web development outside of work and I have three new projects
starting soon from a little brouchureware site to larger applications. I
have a personal hosting account with TextDrive that allows me to run 3
domains, this is not going to be big enough to host the apps for my
clients.
How do other people host Rails sites & apps for their clients? All this
talk of VPS solutions etc
2018 Nov 30
3
DMARC policies
On 30.11.2018 10.03, Per Jessen wrote:
> Aki Tuomi wrote:
>
>> Hi!
>>
>> It seems we accidentically had a high amount of subscribers
>> temporarily disabled due to DMARC on some sender's host. We have now
>> taken actions to prevent this in the future and all temporarily
>> disabled members have been restored.
>>
>> Aki
> Hi AKi
>
2010 Feb 25
2
[PATCH] Enhance vms display
It can be quite hard to manage a pool of 40-50 VMs without informations about the OS running, the contact (which is the only one to know when the vm can really be destroyed) or an End Of Life date. This patch add those fields, and rework a little the VM list view, in order to show gracefully those new fields. It has been made at the expense of UUID, Total Run Time & Load fields. Since those