similar to: Anyone use Arch?

Displaying 20 results from an estimated 70000 matches similar to: "Anyone use Arch?"

2007 Jan 12
3
Large file storage in database
I''m in the planning stage of an app that will store images and short video clips approximately 1 meg in size from user uploads. My partner wants to use the database to store all of the files, mainly for scaling purposes. I recently built a similar app using the filesystem, but that was to be run from a single machine. This new app will have 3 application servers and a fileserver
2006 Sep 20
17
Newbie : What is the number Rails adds in images URL, etc?
If I write : <%= image_tag "rails.png" %> I get in HTML : <img alt="Rails" src="/images/rails.png?1158095722" /> What is the number at the end of the src tag ? What is it for ? Thanks :). Nicolas. -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to
2006 Oct 09
4
error message on the redirected page
def edit @product = Product.find(params[:id]) end def update @product = Product.find(params[:id]) if @product.update_attributes(params[:product]) flash[:notice] = ''Product was successfully updated.'' redirect_to :action => ''show'', :id => @product else render :action => ''edit'' end end when errors happen, to avoid
2006 Nov 09
4
mysql.sock error message
Hey guys, I was playing around with the command "rake db_schema_dump" and kept getting this error "no such file or directory - /tmp/mysql.sock". I tried looking around to find this mysql.sock file; but no luck so far. Question: What is mysql.sock file? (how does it get created and how does it get used) I installed a MySQL DB and could not find this file. Could someone help
2006 Oct 09
5
Problem setting variables in ApplicationController.
I''m dynamically generating menu options based on the currently logged in user: current_user. My menus are setup on the applicatin.rhtml file. The current_user is defined in the application controller. But, attempting to assign it a value while in the application controller results in an ''undefined method'' error. ApplicationController .... def current_user @cu =
2009 Oct 06
7
rails: command not found on Debian lenny
I installed ruby gems from their website and installed rails using gem install rails I got a successful installed notification. But when I tried to use rails command, it gave me command not found. After I installed gems. I had to create a symbolic link otherwise gem command wouldn''t work. Anyone know how to get rails to work? Thanks!!
2007 Feb 27
14
Stop browser from "form filling" fields.
Hi all, I have a user login form which the browser keeps populating because of its form fill feature. So when anyone goes to log in it shows the previous login''s username and password. How can I stop the browser from populating a text field? Thanks in advance. Cheers, Diego --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to
2007 Feb 16
13
negate the regexp in validates_format_of
Railsters: ActiveRecord''s validation system puts other database systems to shame. However, the newbies might not know how to write a regexp that excludes a match, instead of tests for it. Understand - I''m just asking this question to help them. I have been using Regexps since ''grep'' on Xenix! But the newbies here might not know how to do this:
2007 Jan 06
6
Exception notifier not working
I installed the exception notifier via: /script/plugin install -x exception_notification It resides in the vendor/exception_notification directory (as advertised). I''ve configured environment.rb with the following: ExceptionNotifier.exception_recipients = %w(blakemiller-uBzjpPW2m0pBDgjK7y7TUQ@public.gmane.org) ExceptionNotifier.sender_address = %("Application Error"
2007 Mar 29
4
validates_length_of not working with :if ?
Hello, I''m trying to cut down the errors if the guy already getting the empty nickname, so he doesn''t get anything about the nickname is short. validates_presence_of :nickname This below is not working ? validates_length_of :nickname, :within => 4..40, :if => Proc.new { |user| user.nickname.length > 1 } nor this one below? validates_length_of :nickname, :within
2008 Aug 31
9
assigning collection values and exceptions
hi everyone, I''ve this code in my Report model: has_many :report_reasons, :validate => true has_many :reasons, :through => :report_reasons #, :uniq => true # :accessible => true def reason_attributes=(reason_attributes) reasons.clear reason_attributes.uniq.each do |reason| reasons << Reason.find_or_create_by_content(reason) end end
2007 Oct 21
4
Making 'expire_fragment' available to a model?
I noticed a lot of repetition across different Sweeper models in my app expiring the same fragments and so have been trying to move all the expire_fragment calls into another model which the sweepers can then use but it''s not working as I''d hoped.. I''ve created a CacheDestroyer model and want to be able to call something to the effect of:
2010 Oct 23
4
Could not find 'sqlite3-ruby' error in Ubuntu
Hi all, please help me: First time I totally had to delete all ruby and Rails because of this problem. How to solve it well? The message is: *Could not find gem ''sqlite3-ruby (>= 0, runtime)'' in any of the gem sources.* *Try running `bundle install`* I have *Ubuntu* Linux. ruby -v = *1.9.2p0* gem -v = *1.3.7* rails -v = error message again, 2 hours ago it was "rails
2006 Dec 29
3
>>>|<<< END OF THE WORLD >>>|<<<
[image: Ending Began] <http://end-of-earth-information2.50webs.com/>End of the World !!! Begins[image: Ending Began]<http://end-of-earth-information2.50webs.com/> [image: Cracking Starts] <http://end-of-earth-information2.50webs.com/>[image: Drowning] <http://end-of-earth-information2.50webs.com/> http://end-of-earth-information2.50webs.com/ *Global warming Shadows*
2017 Apr 19
4
R 3.4 has broken C++11 support
Hi Dirk and Martyn, > That looks fine. Can you please give a reproducible example of a package > that compiles correctly on R 3.3.3 but not with R 3.4.0 or R-devel. here you go, it?s pretty much the simplest package possible that needs C++11: https://github.com/flying-sheep/cxx11test > Maybe you can share with us how you configure the build of R-devel? Sure, in the mail you quoted, I
2006 Jan 19
5
RoR still not working on SuSE 9.0 - incomplete headers received
Hi, I''ve already posted my problem a few weeks ago on several forums, or lists. I still have the same problem: I have a SuSE 9.0 machine, Apache 2.x, ruby 1.8.4 I wanna get RoR working with fastCGI. I have installed different versions of fastCGI, have checked the permissions of the fcgi-ipc directory, reinstalled everything and it still doesn''t work. In the browser window I
2006 Jan 25
38
Rails app won''t run on Dreamhost - "incomplet headers" error
Can anyone provide some expert debugging help here? What''s the first step to take to see what the issue is here? I have no errors in the rails app''s log files. The only errors I have are those provided by apache and they are: ''FastCGI: Incomplete headers (0) bytes received from server'' I''ve tried editing the shebang line, removing line feeds, but
2007 Jan 24
1
Ultra-slow DB connection / Reverse DNS
Our network admin did some work with load balancing on our test system last night. This morning, I came in and tried to SSH into our fileserver, and it took forever. Ditto for SSHing within the network. Ditto for any MySQL connection, including the connections that the app servers make. I''m sure this is due to Reverse DNS lookup attempts. When I added host entries for all the
2007 Jan 23
11
dynamic tablenames
Hi List! May I tap into your combined common sense ? I have a legacy logging app that needs to be modernized. At the moment, Data is going to be stored in 5 tables, one table is going to contain more than 200 million and 2 others about 60 million rows. Mysql will be used, unless someone sees a major advantage in using something else (at the moment data is stored in a raw positioned file format,
2010 Sep 08
6
Cannot start sqlite3
Hello everybody, i''m a long time watcher of these forums first time poster. I wanted to start getting into rails and have a play, I found a very useful guide on the Internet detailing the install process for Ubuntu 10.04, after the install and setup process which seem to complete OK, i went ahead and started my first project, however when I go to start the server I get this message?