Displaying 20 results from an estimated 800 matches similar to: "Problem starting push server in Jugganaut"
2006 Aug 14
2
ActionPack: number_to_phone error
Question about the number_to_phone function as provided by rails in actionpack:
http://api.rubyonrails.org/classes/ActionView/Helpers/NumberHelper.html
If I do this in my controller:
num = number_to_phone(params[:phone_number])
I get this error:
undefined method `number_to_phone'' for #<TicketsController:0xb7a2bfcc>
Whereas if I do this in my view:
<%
2006 Aug 13
1
select include_blank true
Is there any way to display a default message value ''Select'' rather tha
an empty value when using this option ?
kad
--
Posted via http://www.ruby-forum.com/.
2006 Aug 14
1
Rails Live CD
Hi
Many on this board may already be aware of this, so for those who are
not
Just ran across this, burned it and now playing with it.
Rails Live CD - Based on PCLinuxOS
http://www.pclinuxos.com/news.php
I''m just starting out with ror. maybe other newbees might find this of
some interest.
Clark
http://sgetty.ath.cx
--
Posted via http://www.ruby-forum.com/.
2007 Feb 23
11
Problems getting mongrel service working
Hello list!
I have mongrel service 0.1.0 working on my current production machine.
Upgrading to a new server and also moving to mongrel service 0.3.1
has not worked yet. I am hoping someone will have an idea as to why.
I have mongrel installed properly (I think):
C:\rails\igacc>gem list --local
*** LOCAL GEMS ***
...
mongrel (1.0.1)
A small fast HTTP library and server that runs
2009 Jun 03
3
System V Init Script
Hey Listees,
I have a question (hopefully quite simple) about the system V init scripts
in /etc/init.d. I have an app installed and for some reason it had no system
V init script. It has been installed a long while now so I can't quite
remember whats going on but basically I remember I wrote the init script my
self and the app is enabled as a service which chkconfig to run at system
levels 3,
2008 May 05
2
Deploying to a staging server using Capistrano: how to start up BackgrounDRb?
Hi.
I am using BackgrounDRb to process thumbnails and upload to S3 -
things are hunky-dory in development (thumbs are generated, these are
uploaded to S3, the metadata is saved to trhe DB, and I get a nice
status page updated by periodic calls via ask_status), but when I
tried to deploy to our staging server and stop/start BackgrounDRb via
Capistrano, things blew up - well, not exactly,
2006 Jan 27
6
Switchtower deploy error
I''m trying to deploy a rails app with no success.
I can execute: ''rake remote_exec ACTION=setup''
but when I try to execute : ''rake deploy''
I got this error:
loading configuration c:/ruby/lib/ruby/gems/1.8/gems/switchtower-0.10.0
/lib/switchtower/recipes/standard.rb
loading configuration ./config/deploy.rb
executing task deploy
transaction: start
2007 Feb 02
3
rails command version pegging?
Hello,
Is it possible to declare the version of Rails used with the seminal
"rails /path/to/my_app" command?
For example, I now have 1.2.1 and 1.1.6 installed on my machine. If I
run "rails my_app" I get 1.2.1 produced skeleton code. Is there a way
to get 1.1.6 results?
Regards,
Andy Koch
--~--~---------~--~----~------------~-------~--~----~
You received this
2006 Aug 25
8
Tutorials
Getting a bit frustrated with the documentation of RoR I ask you if you
can recommend a good tutorial that I''ve missed :-)
The current problem that I''m stuck with is forms and list and how to
display or not to display columns.
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed
2006 Jan 28
1
Switchtower different svn repo urls from my local box and my shared hosting
I got problems running switchtower 0.10.0 when I try to run "rake deploy"
from my local box (windows) to my shared hosting
If I set the repository to (deploy.rb):
set :repository, "file:///home/[my_user]/repo/[my_app]/trunk"
My local box (windows) can''t reach the subversion repository located in
site5
If I set the repository to:
set :repository,
2010 Sep 02
1
Error No such file or directory
Hi,
I have a website deployed on heroku, but my local git repository was
ereased, so I m trying to create a new local repository pulling my
deployed site. I run : git clone -o heroku git-Vgi1d2+GxVTQT0dZR+AlfA@public.gmane.org:my_app.git,
but now when I run script/server I get this error msg:
pedro@ubuntu:~/proj/my_app$ script/server
=> Booting WEBrick
=> Rails 2.3.8 application starting
2013 Feb 03
4
Create a helper for models and views?
Hi!
If I have a method that is useful in both models and in views, where would
be the appropriate place to put it?
The method in question just takes two dates as strings, tries to parse them
and returns all dates in the range between them. It also takes care of the
issues when the dates are badly formatted etc etc..
This method is being used in several models (so a simple class method in
2010 Nov 09
2
Undefined method
I am very new to ROR. (Ruby 1.8.7, rails 2.1.1, rack
0.8.7, mysql 5.1.41)
I has my_app/lib/migration_helpers.rb file:
module MigrationHelpers
def self.foreign_key(from_table, from_column, to_table)
constraint_name = "fk_#{from_table}_#{to_table}"
execute %{alter table #{from_table}
add constraint #{constraint_name}
foreign key (#{from_column})
2008 Feb 01
2
wxruby2 problems
Hello,
I''ve recently installed wxruby2 (version 1.9.4) from a precompiled
mswin32 gem. It seems to work fine, and the samples in the
distribution all work, but I have a couple of peculiar problems:
1) When I package a trivial wxruby script with rubyscript2exe, the
executable is huge - 8.5 MB. With previous versions of wxruby (prior
to wxruby2, I think) it was much smaller. Less than 3
2007 Feb 20
2
service::start borken
Hello Mongrel Users!
This is my first post!
Is there an expected release date for the fixed version of
mongrel_service that will resolve the missing service::start command?
I would love to use the much improved features of the new
mongrel_service, but I haven''t been able to yet. I haven''t figured
out how to follow Zed''s advice on a previous thread to just use the
2012 Sep 28
5
Custom ruby gem continuously updates
Hey all,
I''m not sure if there''s a real issue or if I''m doing something incorrectly.
I have a custom compiled gem that I''m installing via:
package { "sapnwrfc-0.24":
ensure => ''installed'',
provider => ''gem'',
source =>
2013 May 31
22
accidentally created a rails app in the home folder
Im a new user - I just installed rails, following directions here:
http://rubyonrails.org/download
however, when it came time to make a rails new path/etc/etc I get this
message:
Can''t initialize a new Rails application within the directory of
another, please change to a non-Rails directory first.
The only complication during the download was that I had to upgrade from
version 1.8.6 to
2010 Feb 12
2
log access denied
Problem: Mongrel cannot start because access to log is denied. I just
switched to a new development laptop (Snow Leopard). I think I
installed everything I needed. I git clone the application I am
developing from the repository. Everything went fine. Now when I run
script/server, this is what I get:
=> Booting Mongrel
=> Rails 2.3.5 application starting on http://0.0.0.0:3000
2007 Aug 02
2
Do the :attributes and :content matchers work
[Rails plugin 1.0.5]
Hi,
I am looking for some guidance.
When working on a partial which looks like this
<div class="bug" style="width: 100%;" />
I have some examples which should fail - I think - but do not:
it '' should fail'' do
response.should have_tag( ''div.bug'', :content => ''There is no
2009 Oct 05
4
Friendly_id and Rake problem.
Hello there,
The plugin friendly_id (http://github.com/norman/friendly_id) has rake
tasks that you can call.
I''m using this plugin as a gem.
I''m trying this: rake friendly_id:make_slugs MODEL=Post
and it is rising this error: Don''t know how to build task
''friendly_id:make_slugs''
So the question is: how do I call a gem''s rake task?
David