Displaying 20 results from an estimated 700 matches similar to: "rails & sqlserver collation problems"
2011 Mar 11
8
Help Regarding Amazon S3 and Career Wave along with Rspec
hello Guys,
i would like to know some details regarding how to implement AMAZON S3
with Career Wave in Rails 3.0.3 and i have to write Rspec test Cases
as well . Actually i already have code which is implemented with
Career Wave its a image uploading code and i need to change that code
on AMAZON S3. Can you guys help to me to make those changes and in
writing RSpec test Cases.Its really important
2011 Apr 19
5
Check that my sqlite database populated
Hello guys,
I''ve made a very simple application following the footsteps of
http://guides.rubyonrails.org/getting_started.html.
I managed to insert my objects (i checked the existence of inserted
objects through the rails console with a simple Foo.all ) but if I run
sqlite3 from command line and then run .databases I can''t see any
database created.
I thought I could see the
2011 Mar 22
3
Premature end of script headers
after moving my app to production, I am getting the following error in the
apache error log. I am running on linode with apache and passenger.
any help would be great,
thanks,
Jason
[Tue Mar 22 00:18:04 2011] [error] [client 50.9.211.207] Premature end of
script headers:
[ pid=23638 thr=3063581552 file=ext/apache2/Hooks.cpp:821 time=2011-03-22
00:18:04.735 ]: The backend application (process
2011 Apr 13
5
Nested route with collection
Hi!
I try to do nested route with collection, but I always have mistake
route:
resources :user do
resources :todo do
member do
post :complete
end
collection do
get :completed
end
resources :post
end
end
View:
<%= link_to_if (params[:action] == ''home''), ''Done'',
comoleted_user_todo_path %>
Browser back me mistake
undefined local
2011 Apr 06
16
Unable to install Rails using Gem
I am new to Ruby on Rails. I was trying to get Ruby on Rails
installed.
I am on Windows XP with access to internet through a proxy. I
installed Ruby and then Gem. I downloaded both as standalone packages
and unzipped them. But when i tried installing Rails through Gem , I
got the below error
"
C:\Program Files\rubygems-1.7.2>gem install rails --version 3.0.1
ERROR: While executing gem
2011 Mar 25
4
how to solve ActiveRecord::ConnectionNotEstablished
*im using mysql as a database*
*
*
*im getting the error which says that *
ActiveRecord::ConnectionNotEstablished in GreetingsController#index
ActiveRecord::ConnectionNotEstablished
Rails.root: C:/railsdev/hello
Application Trace <http://localhost:3000/#> | Framework Trace<http://localhost:3000/#>
| Full Trace <http://localhost:3000/#>
2011 Apr 06
2
Wish List: has_many :dependent => {}
I am after a nice way to disable (not destroy, delete nor nullify) all
associated records. I''m a hoarder, I don''t want to get rid of anything but I
want to stop records being visible.
I have a disabled boolean in my tables and if I disable the top record in
the association (say the association is 5-6 levels deep), I would like to
cleanly disable its children.
I''ve
2011 Apr 18
3
paypal with Active merchant
Hi, I am integrating paypal service in my application using Activemerchant.
Now I want to know how to use ActiveMerchant to make payment to Bank or
Credit card ?
for example:
I am seller and I want to pay some amount to somebody. I want to pay such
amount which will be credited in somebody''s bank account or credit card
directly ?
Please reply me as early as possible.
And also suggest
2011 May 26
3
Kaminari rspec testing undefined method page.
Someone use kaminari for pagination?
I''m doing some tests but I don''t know why I have an undefined method page.
Here is my simple test:
describe "GET index" do
it "assigns all fire_preventions as @fire_preventions" do
FirePrevention.stub(:search) { [mock_fire_prevention] }
get :index
assigns(:fire_preventions).should
2011 Mar 11
2
Problem with Redmine
I am having a problem getting Redmine to run with Oracle (11.2) backend.
I get this error (below) because Oracle table names are limited to 30
characters. Does anyone around here know of a fix or workaround? I''m
wondering if I can simple change the table name, or if that will break
the application.
When doing a db migrate to an Oracle db this creates the error below.
I''m so
2011 May 27
3
unable to start server
When i start the server "rails s",following error message appears:
=> Booting WEBrick
=> Rails 3.0.7 application starting in development on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server
Exiting
/usr/lib/ruby/gems/1.8/gems/actionpack-3.0.7/lib/action_dispatch/routing/mapper.rb:167:in
`default_controller_and_action'': missing :controller
2012 Nov 21
1
dúvidas com matriz de correlação e covariancia
Bom dia eu chamo-me Ana, estou a tentar fazer matriz de correla??o e
covariancia para comparar 4 variaveis e saber quais s?o as mehores...
fiz o segundo codigo mas devo tar a fazer alguma confus?o para nao me
aparecer o output correcto:
cor(dados[,2:5],method=c("pearson"))
cor_with_p_test(dados[2:5])
ct <- cor.test(dados[,2:5])
ct$p
ct$v
#matriz de covariancias
cov(dados[,2:5],
2011 Mar 04
7
Example of work with mongo
Hi there,
I''m newbie here and I have a problem with the connection with MongoDB.
The connection among Rails and MongoDB works, but I don''t know, how to
print only one "column" from document.
If I''m trying following a part of code:
puts db["testCollection"].find_one().inspect
So I''will get the entire structure of BSON, as:
2009 Feb 04
2
More complex Xen Networking, with VLANs and maybe with VDE 2... but how?!
--- In english ---
Hello!
I am to implement a new architecture of the network in my company but I do
not know right where to start ... need help!
Currently 90% of my servers are virtual machines under Xen. I have many
valid IP networks and all Hypervisors are configured in bridge mode, to
simplify. We have 3 VMWare ESX Hypervisor also in bridge mode.
Some networks are exclusive to certain
2012 Aug 04
4
Rspec
Hi all i''m trying to learn Rspec testing can anyone suggest me the best
book to learn Rspec with good sample code.
Thanks in advance
--
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,
2010 Nov 20
3
Global text search (and replace) on MacVim?
Been trying out Macvim and I think I have covered most of what I used in
other editors except for how to handle global searches and replaces for text
in files (i.e. not looking for file names, but search and replace text
within all files below a specific directory). Can anyone who uses MacVim
tell me what they use for such tasks? I have been poking around and see
:grep as the main method, although
2012 Feb 28
8
getting error:undefined method 'current'
hi all,
i am getting an error ''undefined method ''current'' for 852:Fixnum'', the
error coming for following line
<%if @expert_pagination.current.previous%>
<a href="#" class="darkgray1"
2010 May 21
8
Designing An Application (UML, Class Diagrams)
Hi
Is there any freeware anybody would recommend for showing database
models and how they relate to each other? I''m picking up an app
another developer left in a mess and I''m trying to sort it out.
Diagrams would be a great help.
Suggestions?
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this
2010 Jul 05
2
Help - Google Charts on Rails Plugin
Hello,
I''m starting at the RR, and I''m trying to use google charts to generate some
graphs in a single plugin in rails. But I''m testing the samples that are
giving errors. I think it must be configuration error. Someone who has used
google charts on rails help me?
Since already thank you!
Juliana.
=================================================================
2011 Jul 11
36
has_many and belongs_to association
Hi ,
I want to test the one below but I got the problem
belongs_to :name, :class_name => "Phrase", :foreign_key => "name"
in my test
context "test"do
should have_many :phrases
end
in language.rb
belongs_to :name, :class_name => "Phrase", :foreign_key => "name"
error is
1) Failure:
test: check has_many and belongs_to