similar to: (no subject)

Displaying 20 results from an estimated 300000 matches similar to: "(no subject)"

2007 Aug 30
2
flash[:notice] as coach content...
Hi, I would like to use flash[:notice] to display coach content, e.g. "It''s generally a bad idea to do [whatever you just did]. Click here to find out why" - which goes to a more complete coaching page on that topic. My questions are: 1) Does anyone know of nice snippets for doing that (e.g. script.aculo.usfade in, fade out), and 2) It seems the (very plain) approach
2007 Feb 20
2
Gem install rails, no dependencies?
Hi, I''m having an odd problem trying to install Rails on my box: > gem install rails Successfully installed rails-1.2.2 > What happened to the dependencies? Jason --~--~---------~--~----~------------~-------~--~----~ 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
2008 May 14
2
MissingSourceFile: no such file to load -- digest/shal
I attempted to bring up digest/shal in the console but it seems to not be in there. After - gem update I still do not have this file. -- 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
2008 Apr 23
2
Table Unknown - SCHEMA_INFO
Hi all, Sorry for another newbie question! I''ve got a legacy firebird database which I wish to use, and thanks to help from this group I''ve used Dr Nic''s Magic Models to get RoR talking to the database. However, I wish to create a new table ("reports") in this database, and so generated the scaffold such that the file "db/migrate/
2007 Sep 14
2
Invitation to try Unhatched on Rails Rumble
Hey all, I wanted to invite you to try out our Rails Rumble entry: Unhatched (http://vote.railsrumble.com/teams/95/visit) Unhatched is a place to keep track of all those business ideas that you always have but forget to write down. A unique part of our site is that the whole thing is hand illustrated by Gino Barzizza, one of NYC''s up and coming artists. We met all our goals for the
2008 Apr 16
2
undefined method exception if no data is present
I get this error if no relational data is present: undefined method `notes'' for #<Array:0x226cc4c> Here is the code that causes the error: @notes = @account.notes If I call this method through the script/console I get account = Account.find(3) => #<Account id: 3, ...> >> account.notes => [] I get the same error if I don''t declare the @notes var and
2007 Sep 22
4
ActiveResource, find(1) works but no find(:all)
Hi, I''m on edge and Fuser.find(1) works but Fuser.find(:all) shows the error [1]. Fuser is declared here [2]. Do you know what''s happening? Thanks. [1] ActiveResource::ServerError: Failed with 500 Internal Server Error from /.../vendor/rails/activeresource/lib/active_resource/connection.rb:124:in `handle_response'' from
2008 Mar 01
2
No route matches with {:method=>:get} Error in AWDWR Book
Hi I''m working on the AWDWR book and I''m on the admin section of the book. I have rails 2 installed on my machine and I have ran into an error when I created my controller login but when I go to http://localhost:3000/login/index I get this error: No route matches "/login/index" with {:method=>:get} I haven''t touched the routes.rb file and when I generated
2011 Feb 02
1
newbie: paypal + line items
hi, using activemerchant + rails the first time. how can i send my line items + descriptions etc over to paypal so that the user can review the items? purchase_options{ :items => [ { :name => "Tickets", :quantity => 22, :description => "Tickets for 232323", :amount => 1211221 },
2007 Jan 19
1
Ruby on Rails now tracked by Update-Scout.com
Ruby on Rails has been added to Update-Scout.com, an interactive web service, that informs its users about software updates and releases. Users can set up personal update news feeds from the Update-Scout software catalog and even add new entries to the catalog. The address is http://www.update-scout.com . Peter Kullmann ========================================== elementec Software &
2008 Jul 23
5
Updating the page dynamically
Hi, I''m developing a Rails application that displays data from MySQL database table. I have an external python script that adds new rows to the table. My goal is to dynamically add new rows to the html table which is displayed in my browser (without reloading the page). I''ve read that Ajax can handle this task ("periodically_call_remote"). But I don''t want to
2007 Aug 09
4
no route found to match "/rails/info/properties" with {:method=>:get}
After a new install (Ruby, Rails en Gem) on a newly installed OS. I''m getting a ''no route found to match'' error. I Googled a bit, and saw that more people had this problem with older rails versions. I''m on Ruby 1.8.6, Rails 1.2.3 and Gem is 0.9.4, on a Mac running OS 10.4.9. Any suggestion is welcome. Regards, Robert.
2009 Apr 15
1
uninitialized constant ActiveSupport::Dependencies::Mutex (NameError)
I''m on debian etch w/ ruby1.8, activesupport-2.3.2, getting this on the first line of code which is require ''active_support'' : /var/lib/gems/1.8/gems/activesupport-2.3.2/lib/active_support/dependencies.rb:55: uninitialized constant ActiveSupport::Dependencies::Mutex (NameError) from /usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require''
2008 Sep 23
6
No css formatting
I''ve just moved a rails site across to a test server from my development PC. I''ve frozen rails and put all the relevant gems into the vendor/gems directory too. I''ve migrated the mysql database and configured Apache with Phusion Passenger. I can access the site and the content is fine. The formatting however, has disappeared - it''s as though the css file does
2007 May 08
2
Install plugin acts_as_auth.. no access to techno-weenie.net
please help me get this plugin installed... I have no access to techo-weenie.net due to a firewall blocking the weenie crap in its domain name. more specifically, i''m trying to do this: script/plugin install http://svn.techno-weenie.net/projects/plugins and it bombs. On a machine w/ access to this repository, I did an svn checkout and tar''d up the contents... then
2007 Sep 21
1
mysql-proxy vs. acts_as_readonlyable vs. ?
I have replicated my db (mysql) and have hit roadblocks with both mysql-proxy and with acts_as_readonlyable . Firstly, is there something else I should be using? What would be the advantages of mysql-proxy over in-rails solutions? One is that it keeps the rails config and code simpler, puts the db redirection (kinda) where it should be, at the (kinda) db layer of the architecture. Has anyone
2008 Nov 22
3
rawk no longer works on Rails 2.2.2
I just wanted to let you know that the hack to make rawk work on Rails 2.2.2 by grouping action calls no longer works. This is the hack, I have put the TODO where the line crashes Rails: -- module ActiveSupport class BufferedLogger def add(severity, message = nil, progname = nil, &block) return if @level > severity message = (message || (block && block.call) ||
2008 Feb 24
1
validates_format_of no dots allowed
I need a validates_format_of that disallow dots. In the api there is nothing to find about how validates_format_of exatly works. Is there a better documentation or is there something that can tell me howto disallow dots. -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups
2008 Sep 23
1
Help with "No route matches "/MyTest/" with {:method=>:get}"
I just started working with Ruby. Anyways I can''t seem to figure out how to have this message disappear. I was reading a tutorial and based on it, when I type in http://localhost:3000/MyTest/ it should say whatever I have written down on my my_test_controller.rb file. I first ran: ruby script\generate controller MyTest then I edited the my_test_controller.rb file It currently says:
2007 Apr 06
3
How to find rows where no row in associated table exists?
Basically, how do I do this "The Rails Way(tm)" SELECT * FROM beta_users u LEFT JOIN beta_codes c ON u.id = c.beta_user_id AND c.code IS NULL At the moment I''m using find_by_sql, and that works Ok, but what would be the Rails way? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on