Displaying 8 results from an estimated 8 matches for "your_rails_app".
2006 May 10
2
accessing uploaded file on filesystem question.
Hi,
I''m able to upload files onto my webserver filesystem but I had a question
regarding how I''d go about accessing them using the <img src="..." > tag.
If my files, i.e pictures, are being uploaded to
public/images/<dir>/filename.jpg, then should I store the entire path, or
just the picture name in my database table? I would imagine storing just
the
2005 Dec 25
2
How do I install user_engine & login_engine?
Hello,
I have a Mac & PC and want to install these plug-ins.
I do not understand the svn, what commands do I use?
Thanks
Frank
2005 Dec 27
2
Error when starting WebBrick after installing Login Engine.
I''ve installed and configured my app according to the instructions of the
README file. When I try to start WebBrick i get the following error:
./script/../config/../config/environment.rb:55: undefined method `config'' for
LoginEngine:Module (NoMethodError)
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in
`require__''
from
2006 Jan 04
0
Plugins unit testing
...re now
saying they can''t find the files.
I read the Plugins Conventions thread initiated in october by Jamis
Buck, it does mention the need for unit testing but no agreement was
reached over conventions / helpers to use for plugin unit testing.
currently i have the following structure :
your_rails_app/
|- app/
| |- controllers/
| |- models/
| |- helpers/
| |- views/
|- lib/
| - <etc>
|- vendor/
|- plugins/
|-my_plugin/
|-init.rb
|-lib/
|-my_plugin_core.rb
|-test/
|-mocks/
|-test...
2006 Jan 26
1
"Helper" function for my models
I''d like to create a validation function that I can use in all of my
models. What''s the best way to create a method that will be available
to all of my models? It looks like Helper methods only work in Views
and methods in the Application class only work in controllers, so how
do I make one for models?
I hope this question isn''t too lame, it seems like something I
2005 Nov 25
4
Best location for generic classes?
Say for instance, if I have a class that computes PI, where would the
best place to locate this class so that its accessible by the
controllers and helpers? What if I wanted to make this generic class
accessible to multiple RoR projects?
TIA.
_______________________________________________
Rails mailing list
Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
2006 May 17
3
Rails "Application Error" with apache and mod_fcgid
Hello,
I have a gentoo system that I am trying to remotely develop rails
applications on using apache and fcgi. I created the simple hello world
example from Dave Thomas'' book to test the system and I receive an
"application error" when I try to go to the page. I can startup webrick
and use links to view the page just fine, but nothing doing through
apache.
I have
2005 Mar 04
24
Rails speed?
Hi --
(First time posting to the list...)
I''m trying out Rails on my Mac (OS X Panther, 1.6 G5). It seems...
kinda slow? I''ve even run it with FastCGI and the response time is
still painfully slow.
Is this just me? Is mod_ruby any better than FastCGI? Or is it rails?
Thanks in advance!
-- joshua