search for: gdxloakotq9oetbum9ipnac

Displaying 20 results from an estimated 70 matches for "gdxloakotq9oetbum9ipnac".

2005 Dec 29
5
help with installing login_engine
Hello, I did a script/plugin discover then script/plugin engine then script/plugin login_engine The discover worked, but I get engine and login_engine not found. I am using a Mac Thanks Frank
2005 Dec 18
3
could you give me a hand?
hi. i try to record a global array to save on-line member. it''s put this array in controllers/application.rb or not? my code like this: $online_users = Array.new and each member sign in will add himself to $online_users. miss something? all regards -- Posted via http://www.ruby-forum.com/.
2005 Dec 29
5
Subversion graphical client?
Hi All - I notice that most of the Rails team are using Mac OS X and TextMate for Ruby development. I too am working on Mac OS X and trying TextMate and (shudder?) EMacs. I was wondering about version control. Are folks using Subversion? If so, are they using a graphical client? Which one do they recommend? Yours, Jordan -- Posted via http://www.ruby-forum.com/.
2005 Dec 26
2
resorting a dataset
Quick question to see how I might re-sort an Activerecord data set. Let''s say I have this table: tablename: testscores | id | student | score | avg_for_year 1, steve, 85, 82 2, tom, 84, 92, 3, jim, 92, 95 In my controller, I have something like: t= Testscores.find(:all, :order => "score DESC", :limit => 2) ...where it would return the records for Jim and Steve.... My
2005 Dec 21
8
textilize - redcloth
Hi, I''m using textilize with redcloth 3.0.4. Everything works best except that paragraphs are not translated as an HTML paragraph When I write something like: *first paragraph* second paragraph the output is without paragraph: *first paragraph* second paragraph Any help??? Thanks Jörg
2006 Mar 08
2
RailsConf speakers
Does anyone have a clue as to when the railsconf speakers will be announced? Thanks- -Ezra Zygmuntowicz Yakima Herald-Republic WebMaster http://yakimaherald.com 509-577-7732 ezra@yakima-herald.com
2005 Dec 17
2
Encrypting files
Anyone know of a good (fast) way to encrypt/decrypt uploaded files in RoR? I''ve seen this project: http://ezcrypto.rubyforge.org/ but it only seems to encrypt strings and such. I need to encrypt files once they are uploaded, then decrypt them when they request the file back. Any ideas? Thanks, Mark -- Posted via http://www.ruby-forum.com/.
2005 Dec 15
3
session scope?
Hi all, I''m working on a Rails application. In this application I retrieve a list of ''brands'' using a method somewhere defined in my controller: private def get_brands @brands = Product.find_by_sql("select distinct brand from products"); end However, I display this information in a listbox in the template for my controller. This means @brands
2005 Dec 15
5
site takes a while to load after first visit in a while
Using lighttpd + fcgi to power a site. When no one has accessed it in a while, the first visit to the page takes a while to load up. Then subsequent visits are fairly fast. Any ideas on how to fix it?
2005 Jun 07
13
My Rails Day entry: internet command line
Well, my entry for the 24-hour Rails Day competition is here: http://yubnub.org . It''s a web app called YubNub that implements the grandiose idea of a "command line for the Web OS". Type "gim porsche 911" to do a Google Image search for Porsche 911 cars. Type "random 1000" for a random number between 1 and 1000. Type "tts David Heinemeier Hansson is
2005 Mar 02
1
gem install rails error
...the problem is but can some one give me a little help here? Again this is on Red Hat Enterprise L:inux a totally fresh install with Ruby 1.8.2 installed in /usr/local/bin. Any pointers? Many many thanks in advance for any help -Ezra Zygmuntowicz Yakima Herald-Republic WebMaster 509-577-7732 ezra-gdxLOakOTQ9oetBuM9ipNAC/G2K4zDHf@public.gmane.org _______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails
2005 Dec 08
3
lighttpd proxy w/ apache2
I''ve tried a bunch of things trying to get ruby/apache2 and php working together. I looked over my earlier post and followed the instructions on ezra''s website to install lighttpd on debian. I''ve gotten really far but I think there is one bit missing: 1. I got apache2 and php working together 2. I got lighttpd working on port 3000 and my rails app launches ok
2005 Oct 11
4
Searching an attribute in a hmabtm relationship
(Nuby to Ruby and Rails...) I''ve implemented security using the login generator in a simple app so that I have a user table, a roles table, and a join between them (roles_users). All works as expected. I now need to check if a user has a specific role, but my approach is off somehow. Here''s what I''ve tried thusfar: user_roles = @session[:user].roles
2005 Dec 16
5
Question: image_tag(source, options = {})
image_tag(source, options = {}) Ok, when I want to use an image I added the following code: <%= image_tag "dsf.jpg" options = {[align="right", style="padding-right: 10px; padding-top: 5px;"]} %> However, this doesn''t seem to work, it doesn''t like how I have the "options" part setup. I''m sure there is something very easy
2005 Oct 14
7
validates_confirmation_of not working
Hello, I''m having a weird problem in my user model. For the change_password method I have the following: def change_password(oldpass, newpass, confirmation) oldpass = self.class.myhash(oldpass) reload passhash = self.password self.password = newpass self.password_confirmation = confirmation if valid? and oldpass == passhash save! else # valid?
2005 Dec 16
1
500 Error Page
I have an error page defined in my .htaccess file and I''m in production mode. Sometimes I still get the Application Error (Rails) white page though. In this case there was a nil object that I tried to access in a controller without first checking if it was nil. How does Rails decide what error page to display and how can I get the pretty error page to display more often? Thanks.
2005 Dec 16
2
Is this possible?
Hello Friends, def new @invoiceitems = Invoiceitems.new @oldinvoiceitems = Invoiceitems.find(:all, :conditions =>[''invoice_id = :invoiceid'', { :invoiceid => params[:id] } ] end Error is being shown in the line number with ''end''. This is for initialising a new invoiceItems object and also finding and storing all the invoice items for a
2005 Dec 24
2
Variable dumper
Hi there, I am newbie both in Ruby and in Rails. My experience is mostly PHP. In PHP, there is a var_dump($mixed) function that dumps the object $mixed to std_out. This is helpful to see the curent value of a variable, of if it is an object, everything that is in the object. Is there an equivalent methods in RoR? Thanks, Ezra -- Posted via http://www.ruby-forum.com/.
2005 Dec 26
2
confused about ruby fast C bindings
I am confused about ruby fast C bindings. Does the command: gem install mysql install these? Is this page: http://www.tmtm.org/en/mysql/ruby/ the home page for these bindings? If so, it gives no instructions about installing them with using gem. Wondering if this is all the same??? Thanks for any help... Shelby _______________________________________________ Rails mailing list
2005 Apr 08
0
switch mod_ruby to fastcgi but still use eruby?
...eruby with no framework at all just simple eruby scripts. If I upgrade to fast cgi what would I need to do to still suport these eruby scripts? Can I have eruby on apache without mod_ruby and with fastcgi? Thanks in advance- -Ezra Zygmuntowicz Yakima Herald-Republic WebMaster 509-577-7732 ezra-gdxLOakOTQ9oetBuM9ipNAC/G2K4zDHf@public.gmane.org _______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails