Displaying 20 results from an estimated 10000 matches similar to: "Utter Newbie, HELP!!!!"
2010 Jun 15
3
Newbie trying to set up rails with MySQL
Hello --
Please pardon my newness -- I''m just getting started with rails, and
I''m having some difficulty getting it set up with MySQL.
I am able to get the basic ruby server running (script\server). When I
created a new page (using script/generate controller about index), I
am not able to navigate to the new page, and Ruby either crashes or
gives me an error:
/!\ FAILSAFE /!\
2010 Jul 16
31
Added associations but don't see generated methods
Hi,
I''ve got a Rails app working that includes two two classes, etc.:
Expense & Vendor. I eventually learned that the mental concept I had
of their relationship should be express in Rails as:
class Expense < ActiveRecord::Base; belongs_to :vendor; end
class Vendor < ActiveRecord::Base; has_many :expenses; end
2011 Apr 27
1
'bignum too big to convert into long' while migration in rails
While i run rake db:migrate i got below error ,let me know any one .
Please it is urgent to me.
D:\raj\tweasier>rake db:migrate --trace
(in D:/raj/tweasier)
DEPRECATION WARNING: Rake tasks in
vendor/plugins/open_flash_chart_2/tasks, vend
or/plugins/resque/tasks, and vendor/plugins/resque/tasks are deprecated.
Use lib
/tasks instead. (called from
2010 Mar 12
7
"We're sorry, but something went wrong." from RoR app
Hi All,
"We''re sorry, but something went wrong." is the message I got when I
started up an RoR app in the environment:
Rails 2.3.5
Ruby 1.8.6
WinXP-Pro/SP3
Firefox 3.6
MySQL 5.0.37-community-nt
Mongrel
The app under development was working fine until I (stupidly) thought
I needed to upgrade MySQL to 5.1.44.
I took the precaution of MySQL-dumping
the development db before
2010 Aug 03
2
PDFKit Fork() Function Unimplemented Error - HELP!
Hello All,
We''re working on a project on a Windows machine that will use PDFKit to
convert an HTML page to a PDF. I have followed all the instructions at
GitHub (http://github.com/jdpace/PDFKit), for installing wkhtmltopdf and
PDFKit, then creating the config file in ''config/initializers/pdfkit.rb''
and then finally, setting up Middleware for Rails apps in
2010 Dec 24
2
buildr Windows 7 64 bit problems
Preface: I''m not overly familiar with the inner workings of RoR, so I
apologize for my relatively superficial knowledge upfront
I have a new 64 bit Windows 7 machine.
My dev environment on my old machine which functions fine (sans a
functioning monitor -- thus the new machine), I have the following
installed and functioning well:
Ruby 1.8.6 using the Windows MSI installer
Buildr 1.3.3
2009 Feb 09
4
forms that mix new and old records
I''m trying to create a form/view that displays a mix of records that
exist in the database and records that the user is working on but that
don''t yet exist in the database. I want to leverage all of rails'' nice
form helpers, especially the params hash that it generates for the
records when the form is submitted. So - I am creating ''dummy'' records
with
2009 Feb 18
5
fields_for and Conflicting types for parameter containers. Expected an instance of Hash but found an instance of Array.
I''m trying to use ''fields_for'' in a form. I want the same form to
support both the creation of new obejcts as well as the editing of old
ones. So - in my controller, sometimes I will pass to the form an
object that already exists in my database and has an id and other
times I will pass it a newly created instance of an object that does
not yet exist in the database and
2007 Aug 24
2
error in rails 1.2.3 activerecord
i''m a rails nuby so i don''t know where to fix this in the activerecord
module....
there is no such column in the sys.view.user_constraints.
SELECT uc.index_name FROM user_constraints uc WHERE uc.constraint_type =
''P''
this prevents me from doing a rake test:functionals ...as in below....
C:\railsspace>c:\ruby186\ruby\bin\ruby c:\ruby186\ruby\bin\rake
2007 Sep 28
3
[ win32utils-Bugs-14298 ] windows-api 0.2.0/windows-pr 0.7.1 causes segfault with require of win32/file
Bugs item #14298, was opened at 2007-09-28 10:23
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=411&aid=14298&group_id=85
Category: None
Group: None
Status: Open
Resolution: None
Priority: 3
Submitted By: Lars Olsson (lasso)
Assigned to: Nobody (None)
Summary: windows-api 0.2.0/windows-pr 0.7.1 causes segfault with require of win32/file
Initial Comment:
2014 May 20
0
wpa_supplicant - an utter failure, for some reason
Hello listmates,
I feel a little embarrassed but I can not get through this one and any help
will be much appreciated.
I have a Broadcom WiFi adapter in a 64-bit CentOS 6.5 laptop. Trying to get
it connect automatically - and it just would not - no error messages,
nothing. With the same config NetworkManager connects without a hitch,
I have to compile the wl module out of an SRPM - but after
2007 Sep 25
2
attachment_fu default path
Hi all. I''ve done a little google search, but doesn''t find anything
(with "attachment_fu default path") that could help me in changing
attachment_fu''s default path.
My model:
[audio.rb]
has_attachment :max_size => 20.megabytes
has_attachment :content_type => "audio/mpeg"
has_attachment :storage => :file_system
2011 Apr 20
2
[LLVMdev] Is this a bug in clang?
On Wed, Apr 20, 2011 at 10:44 AM, Joe Armstrong wrote:
>
> It seems very strange to me that the ansi standard says "XXX is
> undefined" and that both clang and gcc
> can detect that something is undefined and that by default they
> compile the offending code without
> any feelings of guilt.
"The good thing — the only good thing! — about undefined behavior in
2004 Nov 04
4
Attempt to build a gemspec
Hi all,
I''m trying to build a gemspec for win32-ipc, using a precompiled binary.
Here''s my gemspec file:
#win32-ipc.gemspec
require "rubygems"
spec = Gem::Specification.new do |s|
s.name = "win32-ipc"
s.version = "0.3.1"
s.platform = Gem::Platform::WIN32
s.summary = "A base class for Win32 synchronization
objects."
2006 Apr 20
2
Missing p-values using lmer()
Hello,
I’m trying to perform a REML analysis using the lmer() function (lme4
package). Well, it seems to work well, except that I’m not getting any
p-value (see example below). Can someone tell me what I did wrong?
Thanks for your help,
Amélie
> library(gdata)
> dive <- read.xls("C:/Documents and Settings/Amelie/My Documents/Postdoc/CE
2005-2006/divebydive.xls",
2006 Jan 17
14
Going nuts on ''\n'' to <br />
Hi all,
Is there no way to easily resolve this. It can''t be that I''m the first that
wants this, and it wouldn''t be RoR if it''s not possible.
On the mysql prompt with the select description from todos .. linefeeds are
show, so they are there.
This is the actual contents with a linefeed after the ":"
"Project contacts:
delete table, point
2008 Aug 22
2
How to find/open Spec::Expectations and Spec::Matchers
Hi,
Then RSpec 1.4 recommends, in the webpage http://rspec.info/documentation/expectations.html,
referencing the subject items.
I''m running ruby 1.8.6 (2007-09-24 patchlevel 111) [i386-mswin32] over
WinXP-Pro/SP2.
I believe I installed RSpec with a Ruby gem. At least, I think that''s
confirmed because I have a lot of stuff in the directory K:\_Utilities
2008 Jul 26
4
Mongrel on Ruby 1.8.6 w/ patchlevel 279 (Win)
Hi,
I can''t install Mongrel on Ruby 1.8.6 (patchlevel 279), using Windows
XP.
My environment:
C:\ruby18>gem environment
RubyGems Environment:
- RUBYGEMS VERSION: 1.2.0
- RUBY VERSION: 1.8.6 (2008-07-17 patchlevel 279) [i386-mingw32]
- INSTALLATION DIRECTORY: c:/ruby18/lib/ruby/gems/1.8
- RUBY EXECUTABLE: c:/ruby18/bin/ruby.exe
- EXECUTABLE DIRECTORY: c:/ruby18/bin
-
2011 Apr 20
0
[LLVMdev] Is this a bug in clang?
On Wed, Apr 20, 2011 at 11:24 AM, Csaba Raduly <rcsaba at gmail.com> wrote:
> On Wed, Apr 20, 2011 at 10:44 AM, Joe Armstrong wrote:
>>
>> It seems very strange to me that the ansi standard says "XXX is
>> undefined" and that both clang and gcc
>> can detect that something is undefined and that by default they
>> compile the offending code without
2009 Jun 13
2
removing Mocha; 'spec spec' fails but the specific model file passes
I happened to mix ryan bates'' authentication scaffold with
rspec_scaffold on a demo project.
and ran into the problem of mixing mock frameworks...ryan uses mocha.
So, as a learning experience, I choose to redo ryan''s tests without
mocha but ran into a strange problem with tests of the User model.
With debugging you can see....
If you run just the user_spec.rb file, everything