similar to: From Instant Rails 2.0 to Rails 2.1.0 - cache problem

Displaying 20 results from an estimated 11000 matches similar to: "From Instant Rails 2.0 to Rails 2.1.0 - cache problem"

2008 Jun 23
1
updating to 2.1.0 using InstantRails2.0 - cache problem
hello. i''m trying to update to rails 2.1 using instant rails, so i can use the new cache features, but when i try to use the method "Rails.cache.write" in a controller, i get the error "undefined method `cache'' for Rails:Module (NoMethodError)" and if i try to force the cache store to memory_store using "ActionController::Base.cache_store =
2008 Jun 23
12
From Instant Rails 2.0 to Rails 2.1.0
hi, I have installed Instant Rails 2.0 on my machine which comes with Rails 2.0.2. Now I want to update my Rails to version 2.1.0. So I do gem update rails and It seems to be fine. But when I check the version of my Rails I get the following message: >rails -v C:/RoR/ruby/lib/ruby/site_ruby/1.8/rubygems.rb:578:in `report_activate_error'': RubyGem version error: activesupport(2.0.2 not
2008 Jun 24
3
Running the beast forum for the first time
Hey guys, so I think I''ve done my installation of the beast forum correctly. Its done the database migration and all the tables look fine. Now, when I run ruby script/server and point my browser at http://localhost:3000/ I get a "500 Internal Server Error" error. Anybody know whats causing this? I''ve been trying to work it out for ages now and its wrecking my head
2008 Jul 03
6
mysql gem warning on ubuntu
i just deployed my app on ubuntu with passenger. i installed the mysql gem as follows: $ sudo gem install mysql Select which gem to install for your platform (i486-linux) 1. mysql 2.7.3 (mswin32) 2. mysql 2.7.1 (mswin32) 3. mysql 2.7 (ruby) 4. mysql 2.6 (ruby) 5. Skip this gem 6. Cancel installation > 3 Building native extensions. This could take a while... Successfully installed
2010 Nov 18
0
Rails 3 upgrade - Custom cache store
I had a custom cache store set up in Rails 2.3. I''m in the process of upgrading to rails 3, but have run into a snag. Before I had all the setting in my environment.rb. It would basically load a yaml file with my server settings, and set up the store via config.cache_store. It seemed like the correct place for this in Rails 3 was as an initializer. So I did basically the same thing,
2010 Mar 31
1
Custom cache store – possible?
Hi. I want to define my own cache store but I have no idea how to use in my app. Rails initializer reads environment config before loading app initializers and plugins. So, i cant write: config.cache_store = :my_beautiful_cache_store, ''localhost:641'' even if I put ActiveSupport::Cache::MyBeautifulCacheStore in config/ initializers. Now i think it is impossible to define my
2009 May 05
9
no sql in the controller guideline
hello. i just checked Chad Fowler''s post "20 Rails Development No-No''s" and one guideline caught my attention. it says: "Nothing that looks at all like SQL should go into a controller, view, or helper." it really came as a surprise to me as Rails itself seems to go against such practice by its AR ''conditions'' option, which most of the times
2010 Jun 02
10
Session, memory_store & NoMethodError
Hy everybody, first, excuse me for my english, I''m french (sorry for that :D). My actual problem is that I encountered a [b]NoMethodError[/b] when I tried to access to a session value that is not nil. I''m doing some ajax calls and I afffect the key/value and access to session variable in the same controler "injection_controller.rb". I also access to session in a view
2009 Dec 11
2
Data
Hi all, Imagine I have a matrix and the first colum is a list that repeats the same names, I want to sum the second column on each unique name on first column. Imagine this: Pepe 2 Pepe 3 Pepe 4 Jose 2 Jose 5 Manuel 4 Manuel 2 I want to make a new matrix that calculates and recognizes that there are 3 different names ans sum second column. But a priori I don´t know the list of the different
2011 Apr 27
3
Can't configure cach_store in an initializer
I''m trying to use redis-store as my cache_store. I also have an app_confirg.rb initalizer which loads a yaml file for config settings. In my redis.rb initializer I have: MyApp::Application.config.cache_store = :redis_store, APP_CONFIG[''redis''] However, this doesn''t appear to work. If I do Rails.cache in my rails console I can clearly see it''s using
2009 Feb 18
1
multidimensional scaling with long form data
I have a dissimilarity dataset with the form: 1 1 dissimilarity value 1 2 ... 1 3 1 4 2 2 2 3 2 4 ... I would like to do nonmetric multidimensional scaling with this data, but I am having trouble using this format. I would like to either find a function that accepts this format or find a way to easily convert this format to a matrix for use with existing functions. Thanks!
2010 Mar 05
2
"\." vs "\\."
Hola a tod@s, ¿alguien me podría clarificar la diferencia entre "\." y "\\." en el siguiente caso? (He mirado ?regex, ?cat, ?Quotes y FAQ 7.37 y no lo acabo de ver) > a<-"hola.me.llamo.pepe" > a [1] "hola.me.llamo.pepe" > strsplit(a,"\.") [[1]] [1] "" "" "" "" "" ""
2009 May 11
0
CloudCache for Ruby on Rails
Quetzall.com is pleased to announce CloudCache for Ruby on Rails, implementing the ActiveSupport::Cache interface. The gem is open source (Apache License version 2.0) and is available at http://code.google.com/p/cloudcache-ruby/ . Steps to install and use: 1. gem install cloud_cache activesupport right_aws uuidtools 2. Sign up for the service at http://quetzall.com - note the Quetzall
2008 Jul 15
1
sex expire time for Sessions in memcached
Hi all, I have a problem with expiring sessions in the case with using mem_cache_store. I''ve been using ActiveRecord session store till now and expired them with SQL query. Yesterday I switched to memcache for storing sessions, however I can''t set an expireation period. My current config is this: ======================== memcache_options = { :c_threshold => 10_000,
2006 Jul 24
9
RadRails with Eclipse
Hi all, who is using RadRails with Eclipse to create RoR applications? jsn -- Posted via http://www.ruby-forum.com/.
2016 Nov 17
4
BUG: nopassword doesn't work with CRAM-MD5
On Thursday 17 of November 2016, Aki Tuomi wrote: > On 17.11.2016 10:14, Arkadiusz Mi?kiewicz wrote: > > Hello. > > > > dovecot 2.2.26.0 > > > > When testing nopassword extra field > > (http://wiki2.dovecot.org/PasswordDatabase/ExtraFields) with CRAM-MD5 > > dovecot doesn't allow any password (while it should) and returns > > > >
2008 Dec 20
5
Calendar icon for date selection functionality
Hello. I would like to add date selection functionality using a calendar icon. Is there a tutorial anywhere I could use? Thanks in advance. Pepe --~--~---------~--~----~------------~-------~--~----~ 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
2005 Aug 02
1
Default_mail_env..
Hi, I 'm new to Dovecot and we are trying to do some tests in a production environment. We use mysql to authenticate and dovecot imap only. But our structure directory is something special. All of ours accounts are stored in maildir and the path is the following: For example the account pepe at inter.net /export/maildir/inter.net/p/e/pepe and into pepe we have
2011 Jul 01
0
config.cache_store file path ignored?
Hi- I have enabled caching in my application and am using the :file_store option, as shown below (enabled in each environment). config.cache_store = :file_store, "#{Rails.root}/public/cache" Why is it that the file path I set is ignored? Everything seems to get dumped out to /public, by default. Thanks! -- You received this message because you are subscribed to the Google Groups
2010 Dec 06
15
Windows new installation - Always problems
I would like to know if there is a way to ''package'' an application with all the associated gems and ship it to a new server and having it to "just work" in a Windows environment. Although I have never done it I know that Rails can be frozen into the application. I am wondering if I can do the same thing with other gems. I have found this