[Rails] Rails 2.3 Issue with bootstrap radiant CMS

2014-07-09 Thread M,Gopi M.gopinath
Hi, while i doing "rake production db:bootstrap" in Rails 2.3 for radiant cms I getting the following error, can anyone help me to sort out this problem. (in /home/x/Projects/XXX) Extensions cannot be used until Radiant migrations are up to date. rake aborted! uninitialized

Re: [Rails] Rails 2.3 not supported?

2012-04-14 Thread Alex Shulgin
On Sunday, March 4, 2012 7:59:41 PM UTC+2, Walter Lee Davis wrote: > > Maybe 2.3 wasn't affected?? >From the original announcement [https://groups.google.com/d/topic/rubyonrails-security/CdoMUVpsRmQ/discussion]: > Versions Affected: All. > Fixed Versions: 3.2.2, 3.1.4, 3.0.12 > Please note

[Rails] Rails 2.3 + Devise + Omniauth

2012-03-18 Thread Walter Lee Davis
I am making one last-ditch request for help here, after spending the entire weekend googling and yak-shaving with this combination. I have a single-sign-on working perfectly with a Rails 3.1 Oauth2 provider and a Rails 3.0 client. Now, trying to duplicate that early success with a Rails 2.3 si

Re: [Rails] Rails 2.3 not supported?

2012-03-04 Thread Walter Lee Davis
On Mar 1, 2012, at 4:15 PM, Paul E. G. Lynch wrote: > The security fix announcement today sent to the rubyonrails-security > group implied that Rails 2.3 is no longer supported. Is that the > case? Did I miss an announcement somewhere? Is there a list of > supported releases somewhere? (What

Re: [Rails] Rails 2.3 not supported?

2012-03-04 Thread Morozov Maksim
+1 On Fri, Mar 2, 2012 at 1:15 AM, Paul E. G. Lynch wrote: > The security fix announcement today sent to the rubyonrails-security > group implied that Rails 2.3 is no longer supported. Is that the > case? Did I miss an announcement somewhere? Is there a list of > supported releases somewhere?

[Rails] Rails 2.3 not supported?

2012-03-01 Thread Paul E. G. Lynch
The security fix announcement today sent to the rubyonrails-security group implied that Rails 2.3 is no longer supported. Is that the case? Did I miss an announcement somewhere? Is there a list of supported releases somewhere? (What was I supposed to be paying attention to?) Thanks, --Paul -

Re: [Rails] Rails 2.3.X weird problem with Created On

2011-03-16 Thread Hassan Schroeder
On Wed, Mar 16, 2011 at 10:26 AM, sw0rdfish wrote: > however for some reason the created_on field is getting updated What database? How is the table in question defined? It sounds like what would happen if `created_on` were a MySQL TIMESTAMP field... -- Hassan Schroeder --

Re: [Rails] Rails 2.3.X weird problem with Created On

2011-03-16 Thread Xavier Noria
The SQL in the log shows no created_on right? Could the database itself have a trigger? Top-posted from my iPhone On Wednesday, March 16, 2011, sw0rdfish wrote: > Hey everyone... I've been out of the game for awhile so you're going > to have to excuse the fact that it's Rails2.3 > > Currently th

[Rails] Rails 2.3.X weird problem with Created On

2011-03-16 Thread sw0rdfish
Hey everyone... I've been out of the game for awhile so you're going to have to excuse the fact that it's Rails2.3 Currently the app is running 2.3.3, I just updated it to 2.3.11 An object is edited, and saved using the .save command and the SQL generated in the logs is as follows UPDATE `calc_

Re: [Rails] Rails 2.3 basic routing question

2011-03-11 Thread Walter Lee Davis
Here's what I've tried so far, without success: map.connect '/yes/:token', :controller => 'users', :action => 'confirmation', :invitation_token => :token map.connect '/yes/:invitation_token', :controller => 'users', :action => 'confirmation' I tried these both after the map.devise_for

[Rails] Rails 2.3 basic routing question

2011-03-11 Thread Walter Lee Davis
I'd like to shorten up a confirmation link so that users won't have text-wrapping issues in their e-mail clients. My links look like this (using Devise confirmable): http://example.example.com/users/invitation/accept?invitation_token=4O-R8B9XbJdB1OIa2J27 and I'd like to make them more like

[Rails] Rails 2.3.x documentation archive?

2010-09-11 Thread Tom
Hi, I'm a developer on several projects using rails 2.3.4 and since the release of 3.0, I haven't been able to find any documentation for 2.3.4 online. I have the rdocs from the gem install, but haven't been able to find anything else. Is this stuff archived somewhere? Thanks! -Tom -- You rece

[Rails] [Rails 2.3] Adding a "phase" to the ActiveRecord Lifecycle

2010-04-13 Thread Phoenix Rising
I've run into a situation where it seems to me that if I could "extend" the typical AR lifecycle to add another "phase" or step to it, it would simplify things. My problem is that I just don't know how to do that, and I haven't been able to find documentation anywhere on it! I'm working on an e-c

[Rails] Rails 2.3 SafeBuffer leaked evil all over my yaml

2010-04-02 Thread skwp
I've been googling for a while to find a solution to this, but can't seem to. What's happening is that after upgrading from rails 2.1 to rails 2.3, my YAML started getting, for lack of a better word, 'evil' due to the introduction of the SafeBuffer class. I thought SafeBuffer was related to ERB i

Re: [Rails] (Rails 2.3) Upstream mongrel cluster: how to find out mongrel instance (port) which handles request

2009-12-09 Thread Kristian Hellquist
Cant you just do `request.server_port' in controller? 2009/12/9 Thomas : > For debugging purpose I find it helpful to see which mongrel out of an > upstream cluster, specifically which port number, handles an actual > request. For example, let the load balancer operate on port 3000 > (development

[Rails] (Rails 2.3) Upstream mongrel cluster: how to find out mongrel instance (port) which handles request

2009-12-08 Thread Thomas
For debugging purpose I find it helpful to see which mongrel out of an upstream cluster, specifically which port number, handles an actual request. For example, let the load balancer operate on port 3000 (development) and the upstream mongrel cluster operating on ports 4000 upto 4002, then I would

[Rails] Rails 2.3 Model.touch(:column) always also updates :updated_at???

2009-10-16 Thread michael.hasenst...@googlemail.com
Hi, Am I the only one (i.e. something I do is wrong), or does the touch- method always update updated_at, even though giving it a column to use INSTEAD is meant to update just that column??? Thanks, Michael --~--~-~--~~~---~--~~ You received this message because

[Rails] Rails 2.3.x and production mode

2009-10-15 Thread Pål Bergström
Is it necessary to add ENV['RAILS_ENV'] ||= 'production' in rails 2.3.x environment.rb? It's not there by default anymore. -- Posted via http://www.ruby-forum.com/. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Ru

[Rails] Rails 2.3.x and active_scaffold Installation

2009-07-30 Thread seenu
Hi, I have upgraded to rails 2.3 and active_scaffold plugin is not working. when i run this command it creates a active_sacaffold folder in vendor/ plugins, but its an empty folder. I googled but found no way to install it. Please help! --~--~-~--~~~---~--~~

[Rails] rails 2.3 view caching in development

2009-06-23 Thread trybeee
Anybody knows hot to disable views caching in development on rails 2.3? --~--~-~--~~~---~--~~ 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.

[Rails] [Rails 2.3] nested_attributes and validation of nested model

2009-06-20 Thread Krzysztof Kotlarek
Hi, I'm using nested models to create form in my view. It looks like this: <% form_for :user, :url => {:action => "add_owner" }, :html => { :method => :post } do |u| %> Name: <%= u.text_field :name %> Surname: <%= u.text_field :surname %> <% u.fields_for :agency_owner_attributes do |ao| %>

[Rails] Rails 2.3 Localized Views issues with IE

2009-05-24 Thread chris
Hey all, Having issues under IE with localized views... whenever it tries to get a xxx.fr.html.erb IE spits out a File Download Security Warning dialog ?!? Firefox works fine... and I cant seem to find any info on the web of issues of this kind... I'm seeing these problems locally and on my VPS.

[Rails] Rails 2.3

2009-04-15 Thread Binh Ly
Hello, I've been looking on the Internet for how to use libxml within Rails. What I'm seeing is a little confusing. If you install the libxml gem, will Rails automatically use that because its installed or do you have to explicitly set libxml to be the default after you've installed it? This po

[Rails] rails 2.3 nested forms with has_many through checkboxes

2009-04-12 Thread OKR
I was wondering if anyone knew of a way to combine the new nested forms in rails 2.3 with a has_many through relationship via checkboxes. Basically I have a page model, a page_category model and a category_items join table. Pages have many page categories through category items. The category_it

[Rails] Rails 2.3 memcache performance drop

2009-04-08 Thread Clinton
After much effort I upgraded our fairly large Rails app from 2.1 to 2.3. After deployment yesterday I noticed an across the board increase in response times. It seems that every call to memcache now takes 10x longer than before. Here are some example numbers from my development log (below), wit

[Rails] Rails 2.3 nested forms and transactions

2009-04-04 Thread Neal L
Hi all, Does anyone know if the new nested object forms in Rails 2.3 supports transactions on save? (http://guides.rubyonrails.org/ 2_3_release_notes.html#nested-object-forms) Supposing you had a form that let users of an app create an account and the admin user account in the same screen, neste

[Rails] Rails 2.3 and TimeZone

2009-03-30 Thread Rick Schumeyer
My rails 2.3 app is interpreting times retrieved from the database as local (in my case, Eastern) instead of UTC. I created a test table in a SQL Server database with one row. The table is called events and contains an "edate" column. The value is "2009-03-30 12:00", and is a UTC time. environ

[Rails] Rails 2.3 <--> ARMailer (emails not in db table anymore)

2009-03-29 Thread Tom Ha
Hi there, since I updated to Rails 2.3, the "ARMailer" gem doesn't seem to do its job anymore: When I try to send out some emails, they don't appear in the database table anymore where they should be queued (and they don't appear in my inbox, neither -> don't seem to be sent out). The log (deve

[Rails] Rails 2.3 Sessions

2009-03-26 Thread Danilo Castilho
I've just upgraded to Rails 2.3.2. I am using active_record_store as my session approach and session.model is deprecated. I was using that to update a couple extra session db columns. Does anyone knows what is the best approach for that now, since ActiveRecord::SessionStore does not help that muc

[Rails] Rails 2.3 Nested models

2009-03-22 Thread JonMagic
I am moving an existing app from rails 2.2.2 to 2.3.2, and really like the idea of the new nested model implementation, but I'm having some issues. Has anyone written a good comprehensive howto for the new nested model stuff in Rails 2.3? --~--~-~--~~~---~--~~ You

[Rails] [Rails 2.3] named routes bug ?

2009-03-22 Thread Kpitn
Hi, I'm using this path : admin_gallery_photos_path(gallery,session_key => cookies[session_key], request_forgery_protection_token => form_authenticity_token) log show : Parameters: {"_my_session"=>"BAh7CToMdXNlcl9pZGkGOhBfY3NyZl90b2tlbiIxMHk2T3luai9qUW1QditVaFdKS1hWbDVHS2ZtWWZuNFdVQ3BWNWdYaFNWND

[Rails] Rails 2.3 really checks for presence of $RAILS_ROOT/public/index.html

2009-03-20 Thread Sudhir
Just sharing a Rail 2.3.2 upgrade experience. My app was running on 2.1.1 before I upgraded. Most things worked but I could not get my default route in routes.rb to work. The default route URL was "/". I had a route like this in routes.rb as the very last route: map.connect "", :controller => "f

[Rails] Rails 2.3 and helpers within plugins

2009-03-20 Thread acras
Hi, I'm porting a plugin of mine to work with rails 2.3. My plugin is based in engines. I'm doing good so far, the only problem is with helpers. Rails seems not to recognize helpers from my plugin. Anyone ran into this issue? --~--~-~--~~~---~--~~ You received

[Rails] Rails 2.3 Upgrade Issue with MemCache

2009-03-20 Thread TomRossi7
One of the plugins I use is Workling. It throws the following error when I try to run it under 2.3: /Library/Ruby/Gems/1.8/gems/activesupport-2.3.2/lib/active_support/ dependencies.rb:443:in `load_missing_constant': uninitialized constant MemCache (NameError) The offending line is: @@mem

[Rails] Rails 2.3 deleting sessions

2009-03-19 Thread Jay
The following line no longer works in 2.3: ActiveRecord::SessionStore.delete_all ['updated_at < ?', 24.hours.ago] Does anyone know how to do this in 2.3? Thanks, Jay --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[Rails] Rails 2.3, restful_authentication, and passenger

2009-03-17 Thread yaphi
I can no longer login using the latest passenger + Rails 2.3 with the restful_authentication plugin. If I run a quick "script/server" everything is fine. Anyone else having trouble with this? --~--~-~--~~~---~--~~ You received this message because you are subscribed

[Rails] rails 2.3 test failure - is this all it takes?

2009-03-05 Thread Conrad Taylor
On Wed, Mar 4, 2009 at 9:14 PM, Richard Lloyd wrote: > Conrad, > > I just commented out line 10 from > activesupport-2.3.0/lib/activesupport/test_case.rb and the test ran to > completion. > > Rick > Hi Rick, I would recommend following this tutorial for contributing fixes to the Rails project bec

[Rails] Rails 2.3 problem...

2009-02-03 Thread Joost H.
When moving to Rails 2.3.0RC1 I get an error with concat!? I can't figure it out. See the dump below: ActionView::TemplateError (You have a nil object when you didn't expect it! You might have expected an instance of Array. The error occurred while evaluating nil.<<) on line #158 of app/views/pla