[Rails] Migrations and feature branches

2018-09-18 Thread Florian Ebeling
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

[Rails] Looking for material to learn about Rails 4/5

2016-09-23 Thread Florian Pilz
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

[Rails] (de)serialization problem with rails 3.2

2012-01-31 Thread Florian S.
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

Re: [Rails] ESI meets ERB, with some odd results

2011-07-20 Thread Florian Aßmann
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,

Re: [Rails] ESI meets ERB, with some odd results

2011-07-20 Thread Florian Aßmann
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

Re: [Rails] ESI meets ERB, with some odd results

2011-07-20 Thread Florian Aßmann
TIES storage.          end          CITIES = ESIlabeth.new 'CITIES'     # puts CITIES["$(GEO{'region_code'})"]["$(GEO{'city'})"]     # => CITIES["$(GEO{'region_code'})"]["$(GEO{'city'})"] and parse i

[Rails] Re: Efficient Concurrency?

2009-09-21 Thread Florian Dejako
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"

[Rails] Efficient Concurrency?

2009-09-19 Thread Florian Dejako
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 --~--~-~--~~~--

[Rails] Re: Class variables and servers

2009-09-15 Thread Florian Aßmann
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*

[Rails] Re: Semicolons in request parameter in Rails 2.3

2009-08-17 Thread Florian J. Breunig
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

[Rails] Semicolons in request parameter in Rails 2.3

2009-08-13 Thread Florian j. Breunig
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

[Rails] Re: Advanced Search In Ruby on Rails.

2009-04-24 Thread Florian Dutey
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| ...

[Rails] Starling problem

2009-03-25 Thread Florian
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>

[Rails] Re: Advanced Search In Ruby on Rails.

2009-03-24 Thread Florian Dutey
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

[Rails] Re: can't update hidden attribute

2009-03-24 Thread Florian Dutey
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] Web framework for embedded appliance?

2009-01-06 Thread Florian Dejako
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

[Rails] Re: How can I use the same model/pojo as both type ActiveRecord and non-ActiveRecord. Doesn't seem dry to make two identical type objects.

2009-01-02 Thread Florian Aßmann
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: > >

[Rails] [ANN] Plugin: ColumnScope 1.0

2008-12-30 Thread Florian Aßmann
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

[Rails] Re: acts_as_versioned and rails 2.2.2

2008-12-10 Thread Florian Aßmann
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

[Rails] Re: paypal integration with rails project

2008-12-05 Thread Florian Dejako
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

[Rails] Functional Test - RJS Template not found

2008-12-01 Thread Florian
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

[Rails] Re: Code Review Tool

2008-11-25 Thread Florian Gilcher
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

[Rails] Re: 2 Models: Same name, different namespace => Problems

2008-10-17 Thread Florian Dütsch
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

[Rails] Re: 2 Models: Same name, different namespace => Problems

2008-10-16 Thread Florian Dütsch
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

[Rails] 2 Models: Same name, different namespace => Problems

2008-10-16 Thread Florian Dütsch
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

[Rails] Re: collection_select reseting selection whenever page refreshes

2008-09-30 Thread Florian Zschetzsche
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/