Displaying 20 results from an estimated 2000 matches similar to: "Failing Routes in deployment"
2010 Nov 29
4
Error heroku: App Crashed
Hi ,
i developed a small application(which contails only static pages) . I
tried to host that on heroku .just when everything was finished when
i
opened my site i,e http://floating-moon-89.heroku.com/ i am getting
an
error as App Crashed..where did it gone wrong? pls help...
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To
2012 Sep 13
10
access key error
I am getting following error while run my rails app in my server
ActionView::Template::Error (You did not provide both required access keys.
Please provide the access_key_id and the secret_access_key.):
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to
2007 Jan 19
6
Problem w/ routes.rb
I am trying to develop a new webapp using Rails 1.2.1. I am installing
it onto a production web server running Apache w/ fastcgi. The server
already has some older webapps running on it using an older version of
Rails. The apps are not installed in the document root; they each have
their own subdirectory which is a symlink for the apache document root
to the "public" directory of each
2011 Sep 24
4
Heroku Slugsize shot up drastically
Hi,
Locally my application is 7MB without tests and logs, etc. The .git
folder is 29 MB. I also have no gems / plugins in vendor folder. 95%
of images sit on S3. However on committing to Heroku it shows ----->
Compiled slug size is 62.7MB
What is wrong? It happened?
To add more context my .gitignore file is .bundle, db/.sqlite3, config/
database.yml, log/.log, tmp/, .idea, .redcar,
2004 Nov 16
1
lme, two random effects, poisson distribution
Hello,
I have a dataset concerning slugs. For each slug, the number of
pumps per one time slot was counted. The number of pumps follows
Bi(30, p) where p is very small, thus could be approximated by
Poisson dist. (# of pumps is very often = 0)
The slugs were observed during 12 time slots which are correlated in
time as AR(1). The time slots are divided into two categories:
Resting time
2010 Sep 22
2
How to fix error: 'x' and 'y' lengths differ
Hi, im a student so still very new to R. Hope someone could help me out here
=)
They are 3 slug control products, bustaslug, product X and Y. Im ask to
explore the data by plot() and tapply(). But when i try to plot or use the
tapply command, it tells me that the x and y lengths differ. so im thinking
its because the data is unbalanced? Is there a simple command that i could
use to fix this?
2011 Sep 13
1
Heroku failed to push: fatal: sha1 file '<stdout>' write error: Invalid argument
When I try to push my app to Heroku I get this error:
OCA@OCA-PC /c/rails/oca (master)
$ git push heroku master
Enter passphrase for key ''/c/Users/OCA/.ssh/id_rsa'':
Counting objects: 913, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (797/797), done.
Read from remote host heroku.com: Connection reset by peer
fatal: sha1 file
2006 Jun 02
6
overriding constants
Hi there,
I''m trying to override the defaults for form_helper.
I can see in action_view/helpers/form_helper.rb:
class InstanceTag #:nodoc:
include Helpers::TagHelper
attr_reader :method_name, :object_name
DEFAULT_FIELD_OPTIONS = { "size" => 30 }.freeze unless const_defined?(:DEFAULT_FIELD_OPTIONS)
DEFAULT_RADIO_OPTIONS = { }.freeze
2009 Oct 23
1
access elements of a named list using a factor
Hi
I have a factor 'f' and a named list 'jj'.
I want names(jj) to match up with levels(f).
How do I use levels(f) to access elements of jj?
> f <- factor(c("pigs","pigs","slugs"))
> f
[1] pigs pigs slugs
Levels: pigs slugs
>
> jj <- list(pigs=1:10,slugs=1:3)
My attempts to produce jj$pigs all give errors:
>
2006 May 22
1
RQuantlib Array processing applying EuropeanOptionExampleArray
I am trying to replicate part of the EuropeanOptionExample using my
date. I have a data.frame containing all my inputs
atm.vols<-subset(data.vols,moneyness==min);
#Some days have the abs(moneyness) exactly between two strike prices,
#Traders will alway price an option at the higher vol when selling it,
so we will too.
2011 Jun 11
7
"Stack level too" deep with @controller.hi
Hi again, sorry for many questions. In mi HomeController, I have the
"hi" method, in this method I use an "if" for show a different message
for a registered user or a guest. When I call in "home/index" my
method "hi", show me this error message:
"Stack level too deep"
class HomeController < ApplicationController
def hi
if (current_user)
2008 May 14
3
New blog application post slugs
Hello. I''m creating my own RESTful blog app. I am wondering about
creating post slugs. I think Wordpress creates a slug at post
creation time and stores the string in the database, then uses that
for URLs.
I read about the acts_as_sluggable strategy (http://
agilewebdevelopment.com/plugins/acts_as_sluggable) but I don''t like
having a number (the ID) in the URL.
Any
2006 Feb 22
1
Cannot see the caller id , When calls made from one server to another
Hi
I had installed and configured 2 IAX server ,
users from 1'st server can dial to the second server
and vice versa
But when I make calls to users in other
server , on my client , I get the caller if as
asterisk@192.168.20.99 , the same I get when I try
reverse , ie I get on my cleint caller id as
astersik@192.168.20.32
Please guide me what
2007 Jun 13
1
21bytes vs 38 bytes
Hello, thank you for responding. I'm sure I'm confusing something, but I did
not explicitly set either kHz or kbps, I just set the mode to narrowband,
and traced through libspeex's code to see that sample_rate was 8000
something, I'm guessing Hz. My assumption was: if you set PA to nb-mode,
then you should encode 160 bytes to 21. Is that mistaken?
ys
On 6/13/07, Jean-Marc Valin
2003 Nov 28
4
User must change password on next logon
I have been trying to create some administration guidline to adding users
and groups in a Samba 3.0 PDC. I have most of the task documented. The
problem I run into is where can I set the attribute for a user to change
their password on next logon.
Any help is appreciated.
Terrance Bey
2007 Jun 12
2
21bytes vs 38 bytes
Hi, I am developing a voip phone that uses speex v1.2b1 narrowband mode.
Libspeex decodes the 21-byte packets I recieve into 160 bytes and I can play
them fine, but when I encode, the result is 38-bytes long.
I have read that 38 bytes means that it is encoding at 15KHz, but I have set
it to nb-mode and when stepping through the libspeex encoding sourcecode, I
see that st->sampling_rate is
2008 Sep 20
2
NameError: uninitialized constant Inflector
I follwed the example here:
http://dekstop.de/weblog/2005/12/rails_inflector_in_ruby_scripts/
#!/usr/bin/ruby
require ''rubygems''
require ''active_support/inflector''
puts Inflector.singularize(''inflections'')
I loaded it into irb and wrote a killer script both of which worked
perfectly for weeks.
Now when I try and run the script or run
2008 Apr 30
7
rescue_from issue with AWS - uninitialized constant
The new rescue_from in edge rails seems to conflict with
ActionWebService, which I need for various other purposes. When I
define, for example (with AWS gem installed):
<b>rescue_from ActionController::RoutingError, :with
=> :page_not_found</b>
I get the exception:
<b>uninitialized constant
ActionWebService::Dispatcher::ActionController::Base</b>
OK, so AWS
2012 Apr 19
2
method value passing in rails
in my ruby on rails application, i have one controller
class HomeController < ApplicationController
def home
puts "name.....#{@name}"
end
def branch
*//HERE HAVE TO GET THE ABOVE FUNCTION VALUE @name*
end
end
What am trying to do, i have to get the @name value in method branch. i
could show the value in function home, but i didn''t get that in
2003 Jun 24
4
cumulative frequency distribution plot
Does R do cumulative frequency distribution plots?
--
Tommy E. Cathey, Senior Scientific Application Consultant
High Performance Computing & Scientific Visualization
SAIC, Supporting the EPA
Research Triangle Park, NC
919-541-1500 EMail: cathey.tommy at epa.gov
My e-mail does not reflect the opinion of SAIC or the EPA.
Federal Contact - John B. Smith
919-541-1087 - smith.johnb at epa.gov