search for: gregdonald

Displaying 18 results from an estimated 18 matches for "gregdonald".

2010 Jun 10
9
Rails3 beta4 + Ruby 1.9
...39;t even start rails console: > rails console /Users/destiney/.rvm/gems/ruby-1.9.2-head/gems/railties-3.0.0.beta4/lib/rails/engine.rb:122:in `delegate'': wrong argument type Symbol (expected Proc) (TypeError) Ruby 1.8.7 works fine as far as I can tell. -- Greg Donald destiney.com | gregdonald.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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscrib...
2010 Aug 18
2
[Rails 3] remote_function ?
Is the remote_function still valid in Rails 3 as it seems many of the Prototype helpers have been replaced ? (link_to_remote, ...) where can I find any link on it ? not in the standard doc I guess .. thanks for you feedback -- 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
2010 Sep 27
3
Rails3 app deploy : how to ?
Hello, I know many people are asking this kind of question. I searched in this forum and some others in the web but i did found something clear enough for my "ror''s power" (i''m not completly new but real close ;-) ) Well, I''m developing my application on os x, i''m using svn (team choice) for versionning but i will need to deploy on linux server (with
2010 Mar 08
4
install problems on fedora 12
I just got set up with fedora 12 and am a new user for that distro. I got ruby 1.8.6 installed. Then I tried to install rails using yum which gave me rails 2.3.4. When I tried to start a rails project I had an error saying the wrong version of rack was supplied. I tried to resolve that with gem installs but got errors saying it couldn''t find rubygem sources. Then I decided to see if I
2010 Jul 09
6
deployment question: has anyone deployed w. sqlite?
Hi, I''d like to make a demo version of my app available, but I''m not ready to get into database stuff, yet. Has anyone ever deployed with sqlite (what I used to develop my app)? If so, what hosting service(s) would you recommend? Thanks, Lille -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this
2010 Aug 13
11
Link to remote and the equivalent in Rails 3
Hi WOW! Is Rails 3 another interesting learning curve. Just when I think I have a general working knowledge of Rails 2 ... things change. I''m trying to replicate the following in Rails 3: <%= link_to_remote image_tag("creditcard.png", :border => 0), :url => {:action => :make_payment, :type => "Credit", :id => @appt.id },
2010 Jul 29
2
getting mysql running
Now need to get MySQL installed. I am having the following trouble installing sudo gem install mysql -- --with-mysql-config=/usr/bin/mysql_config ERROR: Error installing mysql: ERROR: Failed to build gem native extension. /usr/bin/ruby1.8 extconf.rb --with-mysql-config=/usr/bin/mysql_config extconf.rb:10:in `require'': no such file to load -- mkmf (LoadError) from extconf.rb:10
2010 Aug 18
2
auth logic - password confirmation
Hi, newbie here. :) i have this form on a test rails app: <% form_for @user do |f| %> <%= f.error_messages %> <p> <%= f.label :username %><br /> <%= f.text_field :username %> </p> <p> <%= f.label :email %><br /> <%= f.text_field :email %> </p> <p> <%= f.label :password %><br
2010 Feb 11
2
Error when starting rails server [on rails 3]
Hi all, I receive an error when starting the server, namely: ~/Documents/blog$ rails server /usr/local/lib/site_ruby/1.8/rubygems.rb:827:in `report_activate_error'': RubyGem version error: rack-mount(0.5.0 not ~> 0.4.0) (Gem::LoadError) from /usr/local/lib/site_ruby/1.8/rubygems.rb:261:in `activate'' from /usr/local/lib/site_ruby/1.8/rubygems.rb:296:in `activate''
2010 Aug 17
3
Rails 3 flash message problems
The following code in my application_helper.rb class either eats the flash message or escapes it and does not display properly: # Outputs the corresponding flash message if any are set def flash_messages messages = [] %w(notice warning error).each do |msg| messages << content_tag(:div, content_tag(:p, html_escape(flash[msg.to_sym])), :class => "message
2010 Aug 30
16
<b> tag in HTML 5 (was Re: Re: assert_select for <p><b>text</b>value</p>)
On 30 August 2010 15:47, Marnen Laibow-Koser <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote: > Colin Law wrote: >> I have the following html >> <p><b>text</b>value</p> >> I can use >> assert_select "p>b", "text" >> to check the text portion, and >> assert_select "p", "value"
2010 Aug 19
4
Postgres, concurrency, and rails
I work on a fairly large website that uses Ruby 1.8.6 and Rails 1.2.3. We cannot upgrade as it will hopelessly break our code. We are working on a new version in Java but for the next year at least we are stuck with the legacy system. We use the latest version of Postgresql for the database using the postgres-pr gem. I am attempting to implement cron tasks within the system using Rufus Scheduler,
2010 Jun 03
7
Scheduled tasks in Rails: Cron + wget = Best solution?
Hi there, do you agree that for having scheduled tasks in Rails, the leanest solution is the following? - Create a controller with an action for each task - Implement the logic of the task as controller code - Set up a cron job at the OS level that uses wget to invoke the URL of this controller/action at the appropriate time intervals Advantages: 1) full access to all your Rails objects just as
2010 Sep 13
13
what I've missed in routes.rb?
In routes.rb I''ve put: resources :sessions controller is: class SessionsController < ApplicationController def destroy session[:id] = nil session.delete(:casfilteruser) CASClient::Frameworks::Rails::Filter.logout(self) end end In application.html.erb I have: <%= link_to ''Logout'', session_path(session[:cas_user]), :method => :delete %> I
2010 Jun 10
4
gem update fails on make sqlite3
Anyone have any idea how to interpret this? I''ve been at it for an hour and I''m not getting anywhere. Doesn''t seem to be any other instances of this online either. User: root OS: CentOS 5.4 (up to date as of 20100610 06:30) Rails -v: 2.3.8 Gem -v: 1.3.6 <code> # gem update Updating installed gems Updating sqlite3-ruby Building native extensions. This could
2010 Oct 08
7
90% of documentation outdated?
I have been trying for a few days to set up a basic user registration/ login system with rails 3 and nearly every single piece of documentation is outdated. Restful_authentication has several git branches, none of which appear to result in a working installation. All of them leave me with "could not find generator authenticated". With Devise: "could not find generator devise"
2010 Nov 03
11
Why Ruby on Rails?
Hi everyone, I would like to ask you why should I use Ruby on Rails? And I have a silly question hope I can answer it, is it true that the creators of ruby on Rails are gay? I''ve just read that and want to make sure. Thanks. -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
2010 Dec 06
57
Which RoR to run on Mac OS X for a particular RoR app.
I am extremely new to RoR, I am. I am slowly but surely learning Ruby and the Rails concepts but the environment is confusing. I have an application that was written for my company in RoR. It is on a ubuntu server that is going to be shut down. I want to move the app to my two Macs (one Leopard and one Snow Leopard). We want to keep the app to demo a business concept but it can run locally