How about 2.2?
I'm using yaml, but not xml. How can I fix it?
On Tuesday, January 8, 2013 9:20:48 PM UTC+1, Aaron Patterson wrote:
Hi everybody.
I'd like to announce that 3.2.11, 3.1.10, 3.0.19, and 2.3.15 have been
released. These releases contain two **extremely critical security
Not sure if inline coffeescript is smart. Has just learned why inline
javascript not is smart, so I don't understand why it now should be a
good thing with coffeescript.
On the other hand: I find the ability to use it when responding to
JavaScript (JS) requests very nice, so I wonder why this is
I've implemented jQuery UI tabs, and I get an error:
When i submit a ajax form or link, it gets submitted multiple times.
As seen in this Doom console output:
DELETE http://localhost:3000/innmeldings/101 404 (Not Found)
DELETE http://localhost:3000/innmeldings/101 404 (Not Found)
DELETE
I'm upgrading my CMS app to rails 3, but some parts just don't get
unescaped :-(:
From application.html.erb:
% for article in topplinker %
% nr = nr + 1 -%
%= text2html(article.ingress, article.cloth).html_safe % #
- Here it is!
% if
Hello.
I have a simple multipart-form that uploads images and saves record in
the database. I have a model that uses the RMagick plugin to save the
images.
My model looks like this:
class Drawing ActiveRecord::Base
has_attachment :storage = :file_system,
:resize_to =
- has_many :taxons, :through = :taxonomizations
Do you think this sounds like the best way to do it? Or is there a
good plugin that can do this for me?
Thanks,
Henrik Hodne
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Ruby
Upgrading a Rails app from 2.2 to 2.3.2 (via 2.3.0). Got things
working in the browser, but script/console seems messed up in both
2.3.0 and 2.3.2:
$ script/console
Loading development environment (Rails 2.3.2)
/Library/Ruby/Gems/1.8/gems/rails-2.3.2/lib/initializer.rb:56:in
`env':NameError:
On Mar 22, 12:14 pm, Henrik N hen...@nyh.se wrote:
Upgrading a Rails app from 2.2 to 2.3.2 (via 2.3.0). Got things
working in the browser, but script/console seems messed up in both
2.3.0 and 2.3.2:
$ script/console
Loading development environment (Rails 2.3.2)
/Library/Ruby/Gems/1.8/gems
On Nov 17, 4:41 pm, Henrik N [EMAIL PROTECTED] wrote:
I've seen a bunch of logged exceptions the last few months, where
Rails expects arrayparamslike
{ ids = [123, 456] }
but gets
{ ids = { 0 = 123, 1 = 456] }
or expects hashparamslike
{ user = { foo = x, bar = y } }
but gets
{user = foo
I've seen a bunch of logged exceptions the last few months, where
Rails expects array params like
{ ids = [123, 456] }
but gets
{ ids = { 0 = 123, 1 = 456] }
or expects hash params like
{ user = { foo = x, bar = y } }
but gets
{user = foo=xbar=y }
So what was supposed to be an array (from
On Mon, Nov 17, 2008 at 4:41 PM, Henrik N [EMAIL PROTECTED] wrote:
I've seen a bunch of logged exceptions the last few months, where
Rails expects array params like
{ ids = [123, 456] }
but gets
{ ids = { 0 = 123, 1 = 456] }
or expects hash params like
{ user = { foo = x, bar = y
surge wrote:
Seems like executing a return in one of the deliver_* methods of
ActionMailer doesn't cancel the delivery. The template is still read
right after the return method has been executed and because all
variables in the template are empty, all kinds of errors occur.
I need to
On Oct 25, 1:08 am, Henrik N [EMAIL PROTECTED] wrote:
So basically, it seems that a thread in a controller action can run
after the action completes, but ActiveRecord can't.
Is this an inherent limitation? Can I configure my way around it? I
was hoping 2.2 connection pools would mean
On Oct 25, 9:19 am, Henrik N [EMAIL PROTECTED] wrote:
Aha! Changing
config.cache_classes = true
to
config.cache_classes = false
in config/environments/development.rb fixed this.
Oops. The other way around, of course. Changing from false to true
On Oct 24, 11:58 pm, Joshua Muheim [EMAIL PROTECTED]
wrote:
I'm trying to get my actionmailer to work.
How can I debug this stuff? Is there something I have to set on my
email server?
Make sure you have
config.action_mailer.raise_delivery_errors = true
in
I have some callback code that submits data over the net, gets an id
back and should write it to DB.
This takes a few seconds. I want to run it asynchronously, without
slowing down the request/response cycle. I would like to avoid a
worker/queue system if possible, to keep things simple.
I
16 matches
Mail list logo