You're loading the test environment. Somewhere you have RAILS_ENV=test or
ENV[RAILS_ENV] = test or it's been exported to your shell environment for
some reason.
Jason
On Aug 19, 2010, at 6:33 AM, Stewart wrote:
I have not noticed this before but its a little strage. Every time I
run a rake
You are looking too deeply into your app stack. This kind of file uploads needs
to be handled by the webserver itself. All modern webservers have a way to
stream files from a user onto the disc (this way you don't have memory issues
as only the current chunk is in memory at any give time) and
On Jul 1, 2010, at 7:31 PM, Gerwin wrote:
Hi,
I was wondering how to communicate with my web app from e.g. a C++/C#
application. I know how to use the HTTP Rest methods but was wondering
about the following:
* How to use POST with the authenticity_token (how do I get the
token?)
*
, Jan 14, 2010 at 5:43 PM, Jason Roelofs jameskil...@gmail.comwrote:
If you have to put OFF-TOPIC in the topic of a topical mailing list,
should that be a warning that you're sending to the wrong list?
Jason
--
You received this message because you are subscribed to the Google Groups
Ruby
If you have to put OFF-TOPIC in the topic of a topical mailing list, should
that be a warning that you're sending to the wrong list?
Jason
--
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
eOn Mon, Dec 7, 2009 at 4:14 PM, RubyonRails_newbie
craigwest...@googlemail.com wrote:
Hi all,
I want to implement a captcha on my register page to help weed out any
'non-human' visitors.
I was told to check out http://expressica.com/simple_captcha/ but the
site isnt responding.
Does
On Wed, Nov 25, 2009 at 6:30 AM, rails.n...@gmail.com
rails.n...@gmail.comwrote:
So I've tried to post three times to post to the Heroku Google
Group.http://blog.heroku.com/archives/2008/2/11/heroku_mailing_list/
However it is moderated and they FILTER questions!!! My questions
were
You can't do that. render works only with files local to your app.
Jason
On Wed, Sep 30, 2009 at 12:00 PM, Eric Gruber e...@rumblestrut.com wrote:
I tried that, with something like this:
%= render :partial = 'http://example.com/navigation.html' %
And I got the We're sorry, but something
On Mon, Sep 28, 2009 at 7:22 PM, Greg Willits
rails-mailing-l...@andreas-s.net wrote:
I need to run some info/debug logging in production environment to find
a very elusive problem.
However, I have load balancers which whack a very simple request very
frequently to ensure the entire app
So this guy's saying that using one library that someone has put a TON of
effort in for scaffolding is better than using another library's scaffolding
system?
How is this Java vs Rails ( god what is with people and HORRIBLE
comparisons. Language vs Library?!)?
Java is Fail, it leads to
You are going down the WRONG path. This shouldn't even be a question for
you. Build your game, then if/when you need it, look into making multiple
servers.
Jason
On Sat, May 23, 2009 at 12:35 AM, Jeremy protosp...@live.co.uk wrote:
Hi I'm trying to make a simple browser based MMORPG in Rails
http://www.codinghorror.com/blog/archives/001234.html
Frankly, you're wrong, and XKCD is right. XHTML has some pretty ...
backwards ideas compared to the standard HTML that most developers
right.
Jason
On Thu, Mar 12, 2009 at 8:27 AM, Phlip phlip2...@gmail.com wrote:
http://xkcd.org/554/
I see gets but no sets on those ivars you're trying to manipulate. I
wouldn't assume that you're editing the values in-place instead of a
copy of what the ivars contained unless you've proven that's what
you've got (I think that sentence makes sense ...).
Given that you're saying the code
thein_place_editing
plugin from the Railsgithubrepository. Correct?
Having retrieved it, I would then add it to my svn repository as I
would any file that I create.
Thanks...
On 22 Jan, 13:48, Jason Roelofs jameskil...@gmail.com wrote:
On Thu, Jan 22, 2009 at 5:12 AM, Fernando Perez
The short and sweet: you can not, should not, and will not try to save
information in memory in your Rails environment across web requests.
If you need to save data, use a database, use the session, use flat
files on the disk. Expecting Ruby to just remember is pointless here
because 1) yes,
on it. Wouldnt there
only be 4 rails processes? Or does each mongrel have many rails
processes running? Do you know of any documentation that explains all of
this? Thanks
Jason Roelofs wrote:
The short and sweet: you can not, should not, and will not try to save
information in memory in your Rails
On Thu, Jan 22, 2009 at 5:12 AM, Fernando Perez
rails-mailing-l...@andreas-s.net wrote:
Um, you do need git installed.
Jason
Hi, like I said in another similar thread, you can simply download the
tarball or zipfile and extract the archive in your plugins folder, and
the plugin is
The command on the site is slightly wrong. You're missing the .git
at the end. You need to use the full git clone URL when installing a
plugin. You'll see this link on the project page:
http://github.com/rails/in_place_editing
from which you need to run the command:
script/plugin install
not see anything in my plugins directory.
What is the 'git' command in the above? Do I need to install this
first?
On 21 Jan, 20:43, Jason Roelofs jameskil...@gmail.com wrote:
The command on the site is slightly wrong. You're missing the .git
at the end. You need to use the full git clone URL
when I first generated my
application using Rails 1.2.6, and thus may not support git (as I
assume in (1)).
On 21 Jan, 21:35, Jason Roelofs jameskil...@gmail.com wrote:
Hmm, that's odd. It ran perfectly fine for me.
What happens when you do a straight clone of the project ( git clone
git
On Tue, Oct 14, 2008 at 11:25 AM, Frederick Cheung
[EMAIL PROTECTED] wrote:
On 14 Oct 2008, at 16:13, Anjan Tek wrote:
I don't understand what you want me to do exactly. Isn't the
authenticity token being sent from the HTML to Flex in the first
place?
That same value is coming back from
Authenticity token is checked for all POST requests (aka POST / PUT /
DELETE). If you're doing just GET then the system doesn't look for a
token.
An easier way to grab the auth token than what's specified in the blog
post is to use ExternalInterface and a javascript function:
html:
script
Hmm, ok. The only other time I've seen this behaviour is when the
cookie for the site isn't getting set, or is getting set with the
wrong domain. One quick test, could you compare the authenticity token
value as put in the HTML vs what gets passed in as a post parameter?
Jason
On Fri, Oct 10,
The form helpers don't care if an object is an ActiveRecord::Base or
not, it simply works on the attributes of the object.
So, just don't make your model a subclass of AR::Base.
Jason
On Thu, Oct 9, 2008 at 9:31 AM, Pepe Sanchez
[EMAIL PROTECTED] wrote:
Hi all
I am looking for some
On Tue, Sep 16, 2008 at 3:44 PM, Bill Walton [EMAIL PROTECTED] wrote:
comopasta Gr wrote:
I would like to introduce reverse ajax to one of my projects.
Anyone has any opinions on what is the best approach for a serious
deployment? Comet, Juggernaut, orbitd, cometd, ...?
I would appreciate
25 matches
Mail list logo