Displaying 20 results from an estimated 1000 matches similar to: "/public content security"
2006 Jun 07
4
WEBrick wouldnt start....
hi guys, just did a search and cant find anything helpful..
suddenly my WEBrick cant start.... omg.... dunno wat''s wrong with it
that''s wat i typed :
......$ruby script/server
=> Booting WEBrick...
......$
that''s all... i dont even know wat''s wrong and when i did a ps -F -C
ruby, i also couldnt find anything.....
did i jsut corrupt the file or wat???
2006 Apr 09
8
Computer Name
How to get the name of the computer accessing the application? I mean
the computer the user use to access the application.
Thanks,
Lantis.
--
Posted via http://www.ruby-forum.com/.
2006 May 16
9
Date transform
hi all,
i want my users to enter a date in "ddmmyyyy" format, do someone know
how may i transform it in "yyyy-mm-dd" in the controler before i add it
to the base please?
thks
irong
--
Posted via http://www.ruby-forum.com/.
2006 May 11
5
crating a ajax datagrid
hi,
Im looking to build a live data grid, where you can add delete rows
using dhtml.
and was just wondering if anyone is aware of any plugin''s taht may help
me.
Ive found this example but if anyone is aware of any other plugin''s
please let me know
http://unspace.ca/datagrid/update
thanks
scott
--
Posted via http://www.ruby-forum.com/.
2006 May 18
4
Email Address verifier--eyes needed...
Folks:
I''ve posted a really basic e-mail address verifier to
http://wiki.rubygarden.org/Ruby/page/show/VerifyEmailAddress
I''d appreciate folks who understand DNS and SMTP having a look at it
to see if it looks reasonable. You could comment here or, possibly
more usefully, comment on the wiki page itself.
Thanks
Dave
2006 May 05
2
Authentication Problem in Ruby and Rails
Hi to all!
I am new to ROR!I hope i will get the help from this group!
We configured the email setting in the environment.rb file for sending
the email from my local system!
but we are getting Authntication problems!
How can I solve this problem
Please give me the references
Thanks and Regards,
Kumar
--
Posted via http://www.ruby-forum.com/.
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
2006 Jun 13
5
Can RoR handle a lot of traffic?
And compared to PHP?
--
Posted via http://www.ruby-forum.com/.
2006 Jun 02
3
Use a Model or Controller?
I am putting up a tool that connects to a subversion repository and
checks latest revision and downloads the changeset log for all the
changes made since last check and puts inside a hash for various uses
inside the code.
I am just wondering if the code that checks the subversion repo and
reads it''s data should bolong to a controller of it''s own or a model
of it''s own.
2006 Apr 08
16
International characters
I am new to Ruby on Rails. I have read a lot, and bought several books,
and now I have started to implement a modified "shopping cart",
following the AWDWR-book, with modifications to suit our application
(subscriptions and memberships).
Having done up to chapter 7 I have had no real problems, except one:
Since our customers are Swedish I need the screen names, texts etc to be
in
2006 Apr 20
9
How to change project location?
I moved a project from /var/www/mypro to /home/user1/mypro ... what do I
have to change in config?
The server does not start anymore.
Thank you - Eric
--
Posted via http://www.ruby-forum.com/.
2006 Apr 23
4
Penalties of using an eval on every request
Hello RoR!
I''m building a rails app for hosting multi-page surveys. I set up
questionnaire, question, and question_component models. Now I''m
initializing them with some data.
survey.rb
q1 = Question.new "q1"
q1.quote "Welcome to a test of the new interviewing system."
q2 = Question.new "q2"
q2.quote "Do you like pie?"
2006 May 11
5
Recommendations for Apache 2 with mod_fcgid
Hi,
Have been pulling out my hair for the last few days wondering what I''m
going to deploy my site onto.
I currently have FreeBSD 4.7, Apache 1.3.3, PHP 4 and MySQL 4 running a
year-old PHP site. Dated stuff I know!
The new version of the site will be entirely Ruby on Rails, and I am
wondering what order I should be doing things in terms of upgrades and
installation. I want to be
2006 Jun 05
4
Using grep with tail. Unix challenge!
I want to tail my development.log file, but i only want to show the
lines that have the word "ERROR" in. How can i do this??
Doing this :
tail -f development.log | grep "ERROR"
will filter the log file, but it will not constantly update itself. i.e.
newly added lines to the log file that contain "ERROR" are not
displayed.
Does anyone know how to do this?
Thanks
2006 Apr 30
4
Server IP
Can a ruby on rails app obtain the ip of the server it is running on?
I''d like the application to be able to determine x set of data is for y
data, for example:
These domains all point to the same ip...
mydomain-1.com
mydomain-2.com
mydomain-3.org
I can obtain the domain name from the request by using:
@request.domain
I''d like the application to grab the corresponding ip for
2006 Jun 07
10
RoR with Apache2 - performance?
How is the performance running RoR with Apache2 compared to running it
with PHP?
--
Posted via http://www.ruby-forum.com/.
2006 Mar 28
2
Rails 1.1 and Rails 1.0 gems
Firstly, Congrats to the Rails team for the 1.1 release!
I installed Rails using the package created by Tony Arnold, referenced here:
<http://tonyarnold.com/articles/2005/08/10/rolling-with-ruby-on-rails-on-mac-os-x-tiger-for-beginners>
I did the upgrade to Rails 1.1 and all went well. Now, however, I seem
to have two sets of gems installed. Doing a ''gems list'', I see:
2006 Apr 23
13
post() to other controller in functional test?
In a functional test, I want to call an action in another controller
(a login) before testing things in the current controller. As far as I
can tell from the extremely sparse documentation and the AWDR book,
this seems to be impossible. The post() functions takes an action
argument only, and that''s that. Surely I must be misunderstanding
things?
--
Calle Dybedahl
2006 Jun 12
14
Scope of a global
If I set a global can it be access from all instances of Rails (on the
same application server)?
By instances of Rails I mean for each user who use the application?
Many thanks, K.
--
Posted via http://www.ruby-forum.com/.
2006 Apr 21
9
Capistrano, OS X
If you installed your copy of ruby via DarwinPorts, the hashbang lines
at the top of your dispatch.* scripts says "#!/opt/local/bin/ruby". This
is a problem, if you''re deployin via Capistrano to a host with a
different path to ruby (which would be practially all of them:-)
Here''s a fix. Add this "fix_hashbangs.rb" script to your script
directory.