search for: rails

Displaying 20 results from an estimated 34589 matches for "rails".

Did you mean: fails
2007 Dec 28
3
Converting to Rails 2.0.2
I''m moving an older project to Rails 2.0.2 and ran into a roadblock on the version matching. Here''s script/console session: >> Spec::VERSION::REV => "1785" >> Spec::Rails::VERSION::REV NoMethodError: undefined method `run='' for Test::Unit:Module from /Users/sxross/rails/tastie_work/vend...
2008 Jun 03
9
Build rspec-rails as a gem?
I can''t figure out how to build rspec-rails as a gem when just cloned from github... there isn''t any .gemspec file or rake task that does this. Any help? -- Posted via http://www.ruby-forum.com/.
2006 Apr 04
7
odd error
Hello everybody. I have just started trying rails, got instant rails and radrails... Made a new project, and when I tried to create a model I get the following error: Project> ruby script/generate model user -h -e:3:in `load'': no such file to load -- script/generate (LoadError) from -e:3 I?m sure this is a newbie...
2006 Jan 13
7
installing rails in vendor
Does a rails project automatically switch to using a "local" copy of the rails libs if it exists in the vendor directory, or do I need to tweak something else to pick it up? Thanks! -Theo
2005 May 10
58
A quick straw poll
How many of you are using Rails: 1. As the primary development tool at your Day Job 2. As a small part of your Day Job 3. Not using Rails in your Day Job, but are using Ruby 4. For OS/outside work/hobby -- sam http://www.magpiebrain.com/
2006 Apr 09
16
Rails 1.1.2: A tiny fix for gem dependencies
The new gem version dependency system from Rails 1.1.1 needed a few tweaks to work properly and to stop throwing meaningless warnings. This tiny release makes up for that. To install: * gem install rails * rake rails:update:configs (to get the latest config/boot.rb) This release also signals our new commitment to do more tiny releases from the...
2009 Jan 17
4
Install older version of rails FAILED
Help! I need your help!!! I have an old rail app which I made a few years ago. Never touched rails since. Now, I need to make it work again. I used the above command to install rails, but I still get rails 2.1.1 [b]gem install rails --version 1.2.6[/b] I tried twice, and fails twice, even the installation says Successfully installed activesupport-1.4.4 Successfully installed activerecord-1.1...
2006 Jan 24
9
Constructors
Hi all, A little question. How can u use an constructor in controller? I would like to initialize some central stuff before i''m processing the controller. thanks in advance, Martijn
2006 Apr 07
5
Instant Rails 1.2
According to Zed Shaw who is doing extensive work on Windows at the moment, there is some kind of bug or adverse interaction between the Ruby based MySQL driver and Rails 1.1, but it appears the the C base MySQL driver works just fine. Instant Rails 1.2 now includes the C based MySQL driver and Ruby on Rails 1.1.1. Curt On 4/1/06, Curt Hibbs <ml.chibbs@gmail.com> wrote: > Instant Rails is a one-stop Rails runtime solution containing Ruby, Rails, > Apa...
2016 Mar 25
7
[PATCH 0/4] Configure Power Sensors
The power sensors can be configured to sample the readout values over time. Nvidia does this too, so nouveau should probably do that too. Karol Herbst (4): iccsense: remove read function iccsense: convert to linked list iccsense: split sensor into own struct iccsense: configure sensors like nvidia does drm/nouveau/include/nvkm/subdev/iccsense.h | 6 +- drm/nouveau/nouveau_hwmon.c
2008 May 09
3
Depot Application not working
Hello All, I am doing the depot appliction. I was first installed Instant Rails 2.0 on my machine. got error in getting scaffold :product then after searching in forum took the 1.2.6 version using the below command >gem install rails --version 1.2.6 --include-dependencies Now i am getting the error after starting the server >ruby script/server got the below error...
2006 Sep 06
1
31K failed stat64's when viewing a simple (no db) rhtml page?
I''m trying to help the sys admins of my server figure out what is up with our Rails installation (debian sarge - completely up to date). Hitting a simple page yields 31,000 failed stat64''s and takes anywhere from 8 - 44 seconds. They #! for ruby is correct everywhere, but it''s like it can''t find Rails. These are box stock standard installs. Here'&...
2006 Mar 21
4
Broken config/lighttpd.conf? (in EdgeRails)
I''m using Mac OS X, I installed Ruby/Rails/lighttpd/etc via the instructions from hivelogic. I think I''ve found a bug with EdgeRails, but I''m not sure how to submit it (and maybe I''m doing something wrong and someone can just point me in the right direction). Anyway I thought I''d report it just...
2009 Mar 14
5
The 2.3 branch and Rails Edge failing
I found Brandon''s 2.3 branch for Facebooker and thought I''d give that a try to get around the problems I ran into starting script/server with Rails Edge. Unfortunately, no go. The error I get on start up is: > /Users/user/Sites/iwr2/vendor/rails/activesupport/lib/active_support/ > dependencies.rb:440:in `load_missing_constant'': uninitialized > constant ActionController::AbstractRequest (NameError) > from /User...
2006 Feb 22
5
svn externals and Edge Rails
Hi all: I am considering using edge rails so I can use join tables. I want to use svn:externals to manage edge rails, however I want to understand it more before I go and set everything up. so everytime I commit my app it will pull the most recent version of rails from the svn repository, right? What if the current version of rails is unst...
2005 Dec 15
9
FatWreck.com - New Rails Site
After months of design and development, we''ve launched our second Rails site, http://www.fatwreck.com (assuming your DNS is updated - the pink site is the old one). The site is for legendary punk rock record label, Fat Wreck Chords and it includes a store. The old site was highly trafficked, with millions of page views per month and we expect this one to be also. So...
2013 Feb 06
2
The interpretation of lm(y~x)?
Hi, I am reading the book "Mixed Effects Models in S and S-Plus" and come across an example with the Rail data. I tried to use lm(travel~Rail,data=Rail) and got the following result: Call: lm(formula = travel ~ Rail, data = Rail) Residuals: Min 1Q Median 3Q Max -6.6667 -1.0000 0.1667 1.0000 6.3333 Coefficients: Estimate Std. Error t value Pr(>|t|)
2005 Dec 20
9
Mad Rails
Hello all, I work for a company located in Madison, WI and we''re looking at replacing a pre-Struts J2EE ecommerce app with Rails. ''ve been using Rails with pleasure for the last year on several supporting applications, and I have everyone else convinced that it''s at least worth investigating. The developer team has a few experienced Java developers who are intrigued by the productivity claims, but...
2007 May 30
2
ActionView::TemplateError
Hi, I have a strange problem that only occurs on the production server. I''ve been banging my head for hours trying to figure it out with no success. Below is a copy of the error from the production log. ActionView::TemplateError (Expected /www/rails_apps/scanlan/current/ public/../config/../app/models/image.rb to define Image) on line #6 of app/views/admin/design/_record.rhtml: 3: <td><%= link_to record.comments, :action => ''edit'', :id => record %></td> 4: <td> 5: 6: <%= link_to "...
2006 Mar 01
9
ajax doesn''t show at the right place
Hi, I use link_to_remote to create a link to trigger an ajax, things work fine, a new rhtml is created, however, the newly created rhtml doesn''t replace my old zone, it shows instead on top of my old zone...Does someone know why??? my code is like <table> <tr><td colspan="2"><a href="#" onclick="new Ajax.Updater(''zone1'',