sh what to pass as `v` here from the new branch?
(Or is loading a nightly db dump and uniformly migrate upwards still the
best idea?)
Florian
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To unsubscribe from this group and s
w concepts, e.g. pipelines,
russian doll caching etc?
Best wishes
Florian
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to rubyo
I have a custom serializer object that I use for an attribute of
ActiveRecord as presented in this article:
http://www.edgerails.info/articles/what-s-new-in-edge-rails/2011/03/09/custom-activerecord-attribute-serialization/index.html
If I assign a value to that attribute with a form (in my case a
3 could be a problem depending on your setup, but not
impossible. But still I'd not mix two templating engines as I still think that
it is possible to expose, if not already exposed, the GEO variables to your
Rack::Request object. They should be members of the #env property. If not you
could,
those HTTP vars (HTTP_GEO) in your Rails app?
Do you use Varnish using a pimped version of the GeoIP plugin?
best
Florian
David Black schrieb:
Hi --
On Wed, Jul 20, 2011 at 12:03 PM, "Florian Aßmann"
wrote:
Hi David,
I've got some ESI variables in a template, and am trying
TIES storage.
end
CITIES = ESIlabeth.new 'CITIES'
# puts CITIES["$(GEO{'region_code'})"]["$(GEO{'city'})"]
# => CITIES["$(GEO{'region_code'})"]["$(GEO{'city'})"]
and parse i
Thanks for the responses and discussion, everybody! It seems like
lock_version should do the trick in my case.
Best,
Florian
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk"
y
key = ActivationKey.available.first
key.assigned = DateTime.now
key.save
return key
end
What's the best way to deal with concurrent requests in this
situation? My deployment server uses passenger, the database is MySQL
5.x.
Thanks,
Florian
--~--~-~--~~~--
ation
exists the class variable is always the same.
Thin (T=0, Process 0)
|
+ <> Application
@@flock = nil
---
Thin (T=1, Process 0)
|
+ <> Application < - REQUEST 1 *200*
@@flock = nil
---
Thin (T=2, Process 0)
|
+ <> Application < - REQUEST 2 *200*
I see. The encoding of my incoming request is supposed to be
"multipart/form-data", which does not require escaped semicolons. The
incorrect request encoding has never been much of an issue for me until
the recent Rails upgrade.
BTW this implies that the "-d" curl parameter mentioned above mus
Hi,
after upgrading Rails from 2.2.2 to 2.3.3 I realized that the handling
of request parameters has been changed regarding semicolons (that might
be due to the now integrated Rack interface). The following request
curl http://127.0.0.1:3000/polls/initiate -d 'hallo=1;2'
used to result in
Para
Please, please please
use readable names for your variables or class names
what does mean TblpssDescriptionRecord?
I tried to rewrite it to help you but it's really too ugly and really
doesn't mean nothing.
STOP reassign your params vars, use:
params[:elementdown].each do |element_down|
...
Hi,
installed starling on OS-X (starling (0.9.8), ruby 1.8.7 (2008-08-11
patchlevel 72)) , and am getting some weird exceptions when running it
out of the box. Has anyone seen similar problems?
Thanks,
Florian
irb(main):001:0> require 'rubygems'
=> true
irb(main):002:0>
You should really read basics about variable types in ruby.
All your $... vars are globals. It's not threadsafe and really hugly.
You should really learn to give readable names to your vars
(ex: params[:elements][:province]).
Why
$elementspro = params[:elementprovince]
#...
:conditions => "pro
It won't work anyway.
In your really clean js code, you're replacing the content of
"recipient_gender" by text ("f" or "m").
So, you're replacing by "f" or "m" and it
won't be submitted to server.
Use labels
On 24 mar, 14:48, Sacredceltic wrote:
> Hi,
>
> I want to be able to determine the gen
Rails a less than ideal candidate for this. If anyone has ideas
for what would work, any input is appreciated.
Thanks,
Florian
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" gr
uld gte yourself involved with the rubiunius project. ;)
Otherwise box them in something that would provide the same interface
for SOAPed objects as for ORMed objects.
This code is fully untested, but I hope you get the idea.
Regards
Florian
Am 02.01.2009 um 20:46 schrieb Rick:
>
>
27;Baz'], ...]
When this page is shown maybe we don't need the path and id anymore,
but the instance of the model:
Page.published.rejects(:id, :path).find params[:id] # =>
--
Cheers
Florian Aßmann
--~--~-~--~~~---~--~~
You received this message because y
Hi Emuen,
I suppose you want to use acts_as_git because ~_versioned won't be
fixed, imho.
Regards
Florian
Am 01.12.2008 um 10:09 schrieb Emuen:
>
> Hi people I have tried to install the acts_as_versioned gem from
> github in rails 2.2.2 but it seems to conflict with some me
There's a PDF book on this:
http://www.pragprog.com/titles/jfpaypal/payment-processing-with-paypal-and-ruby
-FDj (No affiliation with PragProg or the author)
On Dec 5, 2008, at 2:05 AM, Ruhul Amin wrote:
>
> Hello experts,
> In my rails project I have to integrate paypal payment
at Rails 2.2.2.
Thanks!
Florian
--~--~-~--~~~---~--~~
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 rubyonrails-talk@googlegroups.com
To unsubscribe from this grou
ood human to interpret them. Just because the score of a method is
high, that does not mean
that the implementation is bad - maybe it is just solving a hard
problem. Metrics have no meaning
without context - and that context has to be provided by a human.
Regards,
Florian Gilc
Frederick Cheung wrote:
> On 16 Oct 2008, at 12:17, Florian Dütsch wrote:
>
>>> (see
>>
> the whole const_missing autoloading thing has a number of quirks.
> Namespaced models aren't used very often, at least in the past there
> have been a number of edge cases
Frederick Cheung wrote:
> On Oct 16, 10:27�am, Florian D�tsch <[EMAIL PROTECTED]>
> wrote:
>> Does anybody know why?
>> Is it a bug?
>>
> There's some funkyness to do with the automatic loading and namespaces
> (see
> http://groups.google.com
Let's start with an example:
---
class Comment < ActiveRecord::Base
end
# dummy (to invent a "table namespace")
class Review < ActiveRecord::Base
end
# ... dummy
# is "review_comments" in the database
class Review::Comment < ActiveRecord::Base
belongs_to :thing
end
class Review::Thing < Acti
Mukund wrote:
> http://api.rubyonrails.org/classes/ActionView/Helpers/FormOptionsHelper.html#M001753
>
> I assume you have the Ajax and the update parts right. It is a
> question of populating the right value into @machine.
This is NOT working. See
http://rails.lighthouseapp.com/projects/8994/
26 matches
Mail list logo