Displaying 20 results from an estimated 10000 matches similar to: "Translation Failure"
2010 Mar 01
3
remove apostrophe in query
Hi,
I want to generate a query with conditions like that
:conditions => ["score_team_1 ? score_team_2", compare_sign] .
The resulting query ends e.g. with score_team_1 ''='' score_team_2
How can i remove the apostrophes from include into the string?
Thanks
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails:
2010 Jan 25
9
skinny Controllers, fat models with REST?
Hi,
I''m really new to rails, so i programmed some stuff and today i read
some things about skinny Controllers, fat models.
My Controllers are really fat now. So i''m asking myself how can i
shrink my controllers and move the code to the models, especially in
fact of REST e.g. in focus on error codes?
code example:
# POST /tasks
# POST /tasks.xml
def create
@authorized
2009 Oct 06
7
rails: command not found on Debian lenny
I installed ruby gems from their website and installed rails using gem
install rails
I got a successful installed notification.
But when I tried to use rails command, it gave me command not found.
After I installed gems. I had to create a symbolic link otherwise gem
command wouldn''t work.
Anyone know how to get rails to work?
Thanks!!
2010 Jan 12
4
how to create portable rails app?
Hi,
i have a rails app which is done with instant rails, now i need to take
the app to other computer and use it without migrating , that is plug
and play use of that application, can anyone help with that??? plz!
--
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,
2012 Feb 14
6
cannot load such file -- openssl (again)
This problem has been discussed a number of times, but none of the given
solutions seems to work for me.
Problem:
Trying to generate the infrastructure for testing with Cucumber gives
the following error
~/.../OTK-register$ rails generate cucumber:install
/home/tpollak/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/activesupport-3.2.1/lib/active_support/dependencies.rb:251:in
2010 Jul 15
2
Can partials be accessed from two views?
For me to keep my application DRY i need to be able to have partials
that can be accessed from two views. How is would I go about doing this?
Many thanks,
jakx12
--
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
2010 Apr 19
2
Acceder a varias tablas
Buenas,
He creado dos andamios para dos tablas a la que accedo por index1 e
index2 respectivamente. En cada index puedo hacer las tareas de aƱadir,
borrar, ver lineas... pero me gustaria saber como se hace una busqueda
mas compleja...es decir si tengo una tabla Productos y otra tabla
descripciones y quiero mostrar en los productos con sus descripciones...
he intentado en el index1 acceder a la
2009 Nov 23
8
Beginner's challenge
Hello,
I begun my journey in Ruby on Rails last Saturday and I am having some
challenges specifically about the db
Where should I go for the specific error listing and how it may be
resolved. I googled and most that I''ve searched are not helpful.
D
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this
2009 Oct 05
11
Unable to install plugins from github
Hi All,
My operating system is FC11...I tried to install will_paginate from
github directly like this -
script/plugin install git://github.com/mislav/will_paginate.git
But I get an error saying
[ckkashyap@KingCobra test_plugin]$ script/plugin install
git://github.com/mislav/will_paginate.git
Plugin not found: ["git://github.com/mislav/will_paginate.git"]
I have git on my machine - I
2009 Sep 30
17
Apache2.2 + what to get Rails
Me: not experienced with Rails or Ruby,
Problem: Ubuntu 9.04 server in my shop ...couldn''t get Apache2.2 +
Passenger + Rails to work for Redmine. (No answer at Redmine list and
I don''t think its their problem anyway). Also couldn''t get Apache2.2
and just Rails to work, though some people said it would. Webrick
works.
Goal: run Redmine on a server that also runs PHP
2003 Apr 29
10
Samba - User Authentication
Hi Robert and List,
As you told me I upgrated to Samba 2.2.5 because I'm doing the test with a
machine which has RedHat 8.0 and this RedHat version comes with it....
Anyway.....
So I made the procedure step by step but I haven't found how to make my
Windows 2000 users (PDC) can access the Linux shared folder and this is
what I've done:
My smb.conf looks like this:
[global]
2010 Jul 18
3
Passenger configuration
Hello Experts,
I am developing a site that will be deployed on dreamhost.
My Development environment is as followed.
Development
H:\mywork\QMed\KIMS_banglore\rails_apps\kims_sachin2.0>ruby script/
about
About your application''s environment
Ruby version 1.8.6 (i386-mingw32)
RubyGems version 1.3.7
Rack version 1.1
Rails version 2.3.8
2003 Aug 27
1
samba und netzlaufwerke unter winxp
Hallo,
Ich habe ebendfalls das Problem, dass ich mich extra anmelden muss bei
meinem Linux-Server. Hast Du da eine L?sung gefunden.
From: "Marcel Stein" <marcel-stein@arcor.de>
Subject: samba und netzlaufwerke unter winxp
Date: Thu, 26 Jun 2003 20:04:56 +0200
Message-ID: <000001c33c0d$76d703f0$0201a8c0@winxp>
Ich habe einen samba zu laufen und greife vom client winxp
2009 Dec 10
6
(annoying) question: Netbeans vs Rubymine
Hi,
I''m don''t want to start another post about what''s the best IDE. Am just
considering getting a licence for Rubymine which is 99$ I think. But I don''t
know whether it''s really better than Netbeans. My focus is on BDD with
cucumber, Rspec and Shoulda. Can anyone tell me his/her experience concering
test support in those two IDE''s
2010 Mar 02
1
localized host in ActionMailer Views
Hi,
I''ve got some domains , lets say example.com and example.de and I want
that the link in a ActionMailerView contains the correct localized
host e.g. with <%= @root_url %> .
Currently the host is set in the environment.rb with
"config.action_mailer.default_url_options = { :host =>
"example.com" }".
How can I set the host dynamically and localized?
2012 Feb 21
2
API Authentication-Authlogic
Hi all
I am using Authlogic gem for authentication.I want an API
authentication for external API(XML) call.How to implement this in
authlogic .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
2011 Jun 12
2
when new rails releases.......
What do you do?
A new release can break an application build on a preceding release
and often an application needs to modify.
So what to do? Fix the rails version in the Gemfile?
In this manner I''ll have a lot of rails versions in the disk.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send
2016 Oct 27
2
Disk near failure
Hi,
On Thu, 2016-10-27 at 11:25 +0200, Alessandro Baggi wrote:
> === START OF READ SMART DATA SECTION ===
> SMART overall-health self-assessment test result: PASSED
That's the line you are looking for. Since your disk apparently does not
store an error log - not sure if that's something with SSDs in general
or just with this particular disk - you will always have to invoke
2009 Oct 25
3
Image_tag Positioning/Alignment
Hi:
I searched the forum before posting and could not find any help on how
to position an image using image_tag (''image_name'').
I have an image in a div, and I need to move it to the right.
How do I this? I have this code:
<div id="mainDivright"><%= image_tag (''name.gif''), :options =>
{:align=>"right" } %></div>
I
2009 Oct 07
2
"Overriding" association build methods
Hey everyone
I have (in a nutshell) two models: Customer and Order. Customer
has_many Orders and Order belongs_to Customer. The Order model
contains fields such as name, address and phone that mirror the
associated Customer''s fields at the time the order was placed. The
reason for this is that if the customer changes their details then the
order contains the details that were current