I have a rails 3.1 app running on Heroku and am about to add user
authentication.
I have also attached a ssl cert and plan on using secure.mydomain.com
for registration and sign in.
I know that I can force a model to use ssl easily in 3.1.
But how to I make sure that the generated route paths
On Wed, Sep 21, 2011 at 12:29 AM, elliottg x...@simplecircle.net wrote:
I am getting this error when trying to assign a Cart instance to a
parent.cart has_one assoc.
ActiveRecord::AssociationTypeMismatch in
CustomerOrdersController#create
Cart(#2188120600) expected, got Cart(#2198420140)
Hi,
I need to open a popup window with a form and submit button, while the
background will be gray and disabled the parent window.
I found the Facebox and the FaceboxRender solutions, but they didn't
work for me.
I get a routing Error: uninitialized constant
ApplicationController::FaceboxRender
I
Tsolmon Narantsogt wrote in post #1023066:
Can i use Active Admin on Rails 2.3.5 ?
http://activeadmin.info/
The project's README appears to contain your answer:
Getting Started
Active Admin is released as a Ruby Gem. The gem is to be installed
within a Ruby on Rails 3 application. To
Thanks for the replies!
I looked into the el_finder, but this is using jQuery and I'm building
this out in prototype. If I use that gem would that add any real bloat
to my application? I have always been weary of having too many calls to
javascript files and having two libraries loading
I have Rails 3 and Ruby 1.9.2
Installing rmagick (2.13.1) with native extensions
/opt/local/lib/ruby/site_ruby/1.9/rubygems/installer.rb:551:in `rescue
in block in build_extensions': ERROR: Failed to build gem native
extension. (Gem::Installer::ExtensionBuildError)
/opt/local/bin/ruby19
http://rmagick.rubyforge.org/install2-linux.html
On Sep 21, 2011, at 15:33 , Sandeep Campbell wrote:
I have Rails 3 and Ruby 1.9.2
Installing rmagick (2.13.1) with native extensions
/opt/local/lib/ruby/site_ruby/1.9/rubygems/installer.rb:551:in `rescue
in block in build_extensions':
Thanks for the feedback. Both Carts are definitely the same Class (no
modules are at play). Everything works perfectly in the console. It
blows up when the app runs as Dev.
After I reboot the local server the first time the request is passed I
do NOT have the mismatch error. All subsequent calls
On Sep 21, 9:52 am, elliottg x...@simplecircle.net wrote:
Thanks for the feedback. Both Carts are definitely the same Class (no
modules are at play). Everything works perfectly in the console. It
blows up when the app runs as Dev.
After I reboot the local server the first time the request
On Sep 20, 8:47 am, Russell Cole russell.c...@sas.com wrote:
Greetings,
Which gems are good for searching textual data? I had a look into
searchlogic but it appears to just dynamically create SQL LIKE statements,
I'd like something that provides better/more relevant results to the user.
Hi!
Sunday I got this error. I typed the following commands, after a search in
google:
sudo apt-get install imagemagick libmagickcore-dev
sudo apt-get install libmagickwand-dev
(Then, gem install rmagick)
Referente:
http://superuser.com/questions/163818/how-to-install-rmagick-on-ubuntu-10-04
I
On Sep 21, 2011, at 10:07 AM, Matt Jones wrote:
On Sep 21, 9:52 am, elliottg x...@simplecircle.net wrote:
Thanks for the feedback. Both Carts are definitely the same Class (no
modules are at play). Everything works perfectly in the console. It
blows up when the app runs as Dev.
After I reboot
Hi,
i am using jquery validation, i used following code
$(#btn1).click(function(){
alert(click);
$(#validating).valid({
rules: {
product_no:{
required: true
}
},
messages: {
product_no:{
required: Required
}
Thanks,
But my system configuration is
SunOS gqwnkyac.joyent.us 5.11 snv_89 i86pc i386 i86pc Solaris
and i am unable to find any package libmagickcore-dev or
libmagickwand-dev.
could you please suggest how to install libmagickcore-dev or
libmagickwand-dev package
Everaldo Gomes wrote in post
hi,
i am using %= s.submit 'Product save' %
when i click it, following error appears
Routing Error
uninitialized constant ProductsController
could any one provide me solution ?
thanks,
-pab
--
You received this message because you are subscribed to the Google Groups Ruby
P.S: Remember to download dependencies and install using dpkg -i
packages.deb
http://packages.ubuntu.com/natty/libmagickcore-dev
http://packages.ubuntu.com/natty/libmagickwand-dev
On Wed, Sep 21, 2011 at 11:48 AM, Everaldo Gomes
everaldo.go...@gmail.comwrote:
Hi!
If you have dpkg installed
Hi!
If you have dpkg installed in your system, maybe you could try manually
downloading and installing the packages
from http://packages.ubuntu.com/
Best Regards,
Everaldo
On Wed, Sep 21, 2011 at 11:45 AM, Sandeep Campbell li...@ruby-forum.comwrote:
Thanks,
But my system configuration is
Do you have a controller named ProductsController?
--
You received this message because you are subscribed to the Google Groups Ruby
on Rails: Talk group.
To view this discussion on the web visit
https://groups.google.com/d/msg/rubyonrails-talk/-/sUuMsWHWdxoJ.
To post to this group, send email
hi
well i am have having contoller named ProductController
but its asking for ProductsController
i don't know how to over come this problem?
thanks,
-pab
--
You received this message because you are subscribed to the Google Groups Ruby
on Rails: Talk group.
To post to this group, send
It's Rails convention that controllers should use the plural name of the
model, like Product*s*Controller
You could probably make it work by using the singular name of the model, but
it would go against convention and wouldn't be very easy to maintain.
--
You received this message because you
On Wed, Sep 21, 2011 at 12:29 PM, Pab prabu.ne...@gmail.com wrote:
hi
well i am have having contoller named ProductController
but its asking for ProductsController
i don't know how to over come this problem?
Hi,
rename your controller from ProductController to ProductsController. In
On 21 September 2011 16:35, Everaldo Gomes everaldo.go...@gmail.com wrote:
On Wed, Sep 21, 2011 at 12:29 PM, Pab prabu.ne...@gmail.com wrote:
hi
well i am have having contoller named ProductController
but its asking for ProductsController
i don't know how to over come this problem?
Hi,
High tech health care firm is seeking an experienced Ruby on Rails
developer to design and develop custom enterprise application software.
Responsibilities:
• Work collaboratively as part of a 7 person Ruby on Rails team to
architect, design and develop custom solutions and applications
•
Thanks!
--
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 rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to
Hi, everyone. I'm working on a program in Rails 3.0.10 and it has a
custom action, run_files, that extracts data in files and saves it in
database. When I clicked the link on the page, it returned an error
page:
ActiveRecord::RecordNotFound in ReportsController#show
Couldn't find Report
You have the route specified to only accept POST requests, but by using
link_to, you're creating a hyperlink that generates a GET request.
You'll need to either change your routes to accept a GET request, or change
your method of calling the URL to a POST request (from a form).
--
You
Thanks for the inout guys. Sessions are at play, but I'm only storing
the Cart's id. I'll try the config.cache_classes setting and get back
to you.
EG
--
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
config.cache_classes = true worked. But that opens up a whole new
issue right? IE reboot server after each model edit?!
Thoughts?
PS thanks for the help so far.
EG
On Sep 21, 4:14 pm, elliottg x...@simplecircle.net wrote:
Thanks for the inout guys. Sessions are at play, but I'm only storing
Hesham Amiri wrote in post #1023058:
I have a rails 3.1 app running on Heroku and am about to add user
authentication.
I have also attached a ssl cert and plan on using secure.mydomain.com
for registration and sign in.
I know that I can force a model to use ssl easily in 3.1.
But how to I
Tim Shaffer wrote in post #1023170:
You have the route specified to only accept POST requests, but by using
link_to, you're creating a hyperlink that generates a GET request.
You'll need to either change your routes to accept a GET request, or
change
your method of calling the URL to a POST
I'm trying to move my application from Rails 2.3.5 to Rails 3.1 which is
a challenge.
In my application,
require 'zip/zip'
fails with 'no such file to load -- zip/zip
gem list --local
shows
rubyzip (0.9.4)
I see zip.rb in
d:\ruby192\lib\ruby\gems\1.9.1\gems\rubyzip-0.9.4\lib\zip\
--
Posted
Hi,
I have teo databases. One is called products, the other categories.
Basically, I have products and they are linked to a category.
Scheme :
products :
name:string
category:references (?)
comments:text
categories :
name:string
place_to_recycle_product:string
comments:text
I don't know how
On Wed, Sep 21, 2011 at 3:39 PM, Justin D. li...@ruby-forum.com wrote:
I don't know how to link the two databases and what command I need to
use to generate the scheme... Could you help me?
Does this actually have anything to do with Rails?
If so, have you gone through any tutorials,
Fixed here
https://github.com/rails/rails/commit/007f56701102647088673d92b165c3d862fbba22
On Sun, Sep 18, 2011 at 1:22 PM, Kris kris.le...@gmail.com wrote:
The solution for me was to add jquery-rails to my engines Gemfile and
restart the server.
I would suspect that it does not want adding
I use a DB table but store one value per setting. Then in my code I
just access whichever record I need to gain access to the value. This
gives me great flexibility to maintain the setting values. Then I
access the table only when needed. It might not be as fast as having
all values retrieved at
Me, I'm betting on the mammals.
--
Hassan Schroeder
hassan.schroe...@gmail.comhttp://about.me/hassanschroeder
twitter: @hassan
--
You received this message because you are subscribed to the Google Groups Ruby
on Rails: Talk group.
To post to this group, send
Me, I'm betting on the mammals.
Good one! :D
--
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@googlegroups.com.
To unsubscribe from this group, send email to
Well... I've read some tutorials and basically, what I had to do was to
create a database with the command scaffold. I had to choose :references
as the type of one of my table entry... But the thing is I can't figure
which entry to reference to...
--
Posted via http://www.ruby-forum.com/.
--
Larger companies are reluctant to invest in a technology until it has
demonstrated some level of stability from a specification and tools point of
view. In this light, breakages in backward compatibility may cause a
technology to acquire a bad reputation that in turn impedes its adoption.
m
On
On Wed, Sep 21, 2011 at 6:21 PM, Justin D. li...@ruby-forum.com wrote:
Well... I've read some tutorials and basically, what I had to do was to
create a database with the command scaffold.
Sorry, that doesn't make any sense to me.
You might want to step back and document exactly what you're
On Wed, Sep 21, 2011 at 6:29 PM, Marc Byrd dr.marc.b...@gmail.com wrote:
Larger companies are reluctant to invest in a technology until it has
demonstrated some level of stability
yep, because for Big Companies, stability is Job 1.
OTOH, smaller (== small-a-'agile') companies are eager to
Hi, I gotta make a model (telefone) that belongs to a person or to a
company, how do I do that?
Thank you,
Rodrigo
--
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@googlegroups.com.
To
anyone?
thank you
--
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@googlegroups.com.
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscr...@googlegroups.com.
For
On Sep 21, 2011, at 9:52 PM, Rodrigo Ruiz wrote:
Hi, I gotta make a model (telefone) that belongs to a person or to a
company, how do I do that?
Thank you,
Rodrigo
You probably want a polymophic association:
class Telefone ActiveRecord::Base
belongs_to :owner, :polymorphic = true
end
44 matches
Mail list logo