similar to: Working with in_groups_of

Displaying 20 results from an estimated 80000 matches similar to: "Working with in_groups_of"

2006 Jun 28
8
How to obtain clients IP adress
Is it possible to obtain clients adress in ruby on rails? by TheR -- Posted via http://www.ruby-forum.com/.
2007 May 22
4
Rails API is not well defined
Although somewhat new, I continue to struggle with passing the right parameters to the Rails methods despite making direct reference to the documentation. For example, I want to create a form: form_tag :action => ''deliver'', :id => @event.id, :class => ''entry'' The class doesn''t show up. I''ve tried various combinations of hash
2006 Aug 05
22
MySQL vs SQLite
I have an application where speed is probably the #1 priority here. I am using MySQL 5.0.22. Would SQL be considerably faster than MySQL? I know this has been discussed before, but the search on the forums is not working. Thanks for your help. -- Posted via http://www.ruby-forum.com/.
2009 Apr 01
4
permission denied errors with rake db:migrate
I am at a loss here and hoping for some advise on where to begin looking with a series of errors I am suddenly getting when trying to rake: "anything goes here" .. lil-loco:/rails/cem craigmartin$ rake db:migrate (in /rails/cem) rake aborted! Permission denied - /rails/cem/db/schema.rb This is the current error. lil-loco:/rails/cem craigmartin$ rake db:schema:load (in /rails/cem) --
2008 May 11
8
From "schema.rb" file to MySQL
Hello, I have write a schema.rb database such as this: ActiveRecord::Schema.define do create_table :arts do |t| t.string :name, :null => false, :limit => 45 end end This file is saved into test/db/schema.rb, and test/config/database.yml is correctly configured with "test_development" database created in a MySQL server. Could you help me to install the content of
2009 Mar 30
3
Great discrepancy between Google Analytics and own counter
Got Google Analytics running on one of my websites. Google defines a pageview as the most occuring event. Every refresh, every link clicked to a different part of the page, even loading from cache is an additional pageview http://www.google.com/support/analytics/bin/answer.py?hl=en&answer=57164 Now it should be known that GA is JS based, and will report directly to Google from the
2008 Jan 15
3
Importing file in html (noob)
Hi People, I''m pretty new to rails so please bear with me on this. I''m wanting to pull a text file into my rhtml page to use as the header part of my site. I know I can use layouts but it isn''t pratical for my problem as there could be hundreds of user made headers. So there are two ways I can see this happening. One is to store the location of the file in the
2009 Mar 12
3
Session Expiry
Helllo there, Can any one help me on this "Session Expiry" I just want to make the session expire when the system goes idle how do i do it yours , Narayanan.cj. --~--~---------~--~----~------------~-------~--~----~ 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
2007 Dec 27
9
how do you handle recurring tasks
i have several tasks which i need to be executed from time to time .. some every 20 minutes and some only 1 time a day .. you know things like e.g. clearing old sessions, deleting inactive users .. how do you deal with stuff like this? cronjobs? how is your pattern for such things ... thanks in advance -- Posted via http://www.ruby-forum.com/.
2008 Jan 04
2
oracle adapter + activerecord sessions do not work
Anyone know what''s up with the activerecord session store when using the oracle adapter in Rails 2.0.2 ? I can set a session variable and can then see it''s actually set using the debugger, but after the request completes the session is empty (the @data member is nil). The session_id is staying the same and the updated_at field is being updated but nothing I put in a session
2008 Jun 30
3
scaffold usage
is there anyway that scaffold would read the database and I don''t have to specify any of the columns? it is really frustraiting specially when you''ve got a lotta cols and tables! I''d like to use rails for an enterprise app but not a toy app like all those apps in tutorials -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~
2009 Sep 25
8
Cheapest Rails Hosting where they give you full access to Apache (to load modules etc)???
any pointers / suggestions re cheapest Rails hosting where they give you full access to Apache (to load modules etc)??? Can be a shared platform, however not sure if there is a shared platform type hosting service where they do give you such access?
2008 Feb 04
7
Problems installing Rmagick on Ubuntu
I want to install Rmagick on Ubuntu 7.10, but i am getting this error when running gem install rmagick: Can''t install RMagick 2.2.0. You must have ImageMagick 6.3.0 or later. (I installed imagemagick and libmagick9-dev prior to that) I installed rmagick through Synaptic, and it says that i have version 7:6.2.4.5.dfsg1-2ubuntu1 installed (by the way, what does the 7 mean?). What should
2008 Jun 24
2
wrong number of arguments (1 for 0) when using respond_to?
Trying to get an otherwise working app (in Rails 2.0.2) up to speed with Rails 2.1.0 and Ruby 1.8.7, I have some broken code I can''t seem to fix: module Pathmaker def self.append_features( base ) base.before_save do |model| model.path = model.name.downcase. gsub( /\ and\ /, ''-'' ). gsub( /\ on\ /, ''-'' ).
2008 May 13
2
sql_session_store on rails2
Hi We''re in the midst of upgrading our rails 1.2.6 app to rails 2.0. We have been using the sql_session_store plugin for our sessions. I wondering if anyone is still using SqlSessionStore on their rails 2 apps? Is it still worthwhile? Thanks, Ray -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are
2009 Mar 25
3
List of databases supported by Rails
Where can I obtain list of databases supported by Ruby on Rails? Thanks TheR -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe
2007 Nov 27
1
capistrano hangs
Any idea why this command takes upwards of 15 minutes to complete? run "cd #{release_path} && ORACLE_HOME=/home/oracle RAILS_ENV=production rake db:migrate" When running it against my local Postgres it completes in a few seconds or so. Running it against my local Oracle XE takes only slightly longer. But running it with capistrano over ssh is taking years away from my life.
2007 Nov 30
2
Store Your Files Online 2 GB for free!!!
2 GB for free!!! That''s right, we are happy to give you a whopping great 2GB of secure online storage where you can manage and share your files easily. For Free! Get Free Code: Limited Time Only! http://www.dpbolvw.net/click-2667396-10497819 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on
2007 Nov 30
2
Store Your Files Online 2 GB for free!!!
2 GB for free!!! That''s right, we are happy to give you a whopping great 2GB of secure online storage where you can manage and share your files easily. For Free! Get Free Code: Limited Time Only! http://www.dpbolvw.net/click-2667396-10497819 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on
2008 Jan 02
1
time_zone_select
Hi, I am using the tzinfo gem and plugins to manage time zone support in my app. In one of the views I have the following select <%= time_zone_select ''user'', ''time_zone'', TZInfo::Timezone.all.sort, :model => TZInfo::Timezone %> This produces a list of all possible countries, does anyone know of a way to only display the UTC + / - options and not the