On 13 May 2013 22:04, cristhian Campoverde li...@ruby-forum.com wrote:
I don't know how to solve something about a project I'm doing in Ruby on
Rails.
[snip]
**cant convert symbol into integer or
**undefined method `stringify_keys'
Please, someone help me, i'm doing my thesis.
You need to
On 14 May 2013 06:19, cristhian Campoverde li...@ruby-forum.com wrote:
I want to save the IDS of my 3 models to my table DETAILS between these,
my BD is Mysql.
Why have you posted this again? I have replied to your first posting.
Colin
--
You received this message because you are subscribed
Hi Colin, really ?? sorry, I tried to simplificate my question...!
Please, if you know how to solve, tell me men.
--
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 unsubscribe from this group
While running rake precompile:assets i'm getting the following error
This is the error message:
rake assets:precompile:all RAILS_ENV=production
rake aborted!
undefined local variable or method `establish_connection' for
ActiveRecord::Base:Class
Please help
--
You received this message
Hi Folks,
In just integrate instagram to my app.
I got an error while redirect from instagram.
{code: 400, error_type: OAuthException, error_message: Redirect URI
does not match registered redirect URI}
Please advise.
Thank you
--
You received this message because you are
It looks like you're passing a redirect URL to the API while authenticating.
You should either not include it, or make sure it's the same as the one you
provide in Instagram's app settings.
--
Dheeraj Kumar
On Tuesday 14 May 2013 at 1:07 PM, Maddy wrote:
Hi Folks,
In just integrate
On 14 May 2013 08:03, cristhian Campoverde li...@ruby-forum.com wrote:
Hi Colin, really ?? sorry, I tried to simplificate my question...!
Please, if you know how to solve, tell me men.
See my reply to your initial posting.
Colin
--
You received this message because you are subscribed to the
The trouble Colin is I accidentally deleted my first post, it was the
first time i signed up, so i was trying to know how the forum works.
Please man help me with that, really I need to solve it for my thesis.
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you
On 14 May 2013 09:13, cristhian Campoverde li...@ruby-forum.com wrote:
The trouble Colin is I accidentally deleted my first post, it was the
first time i signed up, so i was trying to know how the forum works.
Please man help me with that, really I need to solve it for my thesis.
Please quote
Thanks for you replying Colin:
Look, this's my message of error:
NoMethodError in MallacurricularesController#create
undefined method `save' for []:ActiveRecord::Relation
Parameters:
{utf8=✓,
authenticity_token=CEX4yZeFmrSOspseMm2/d8rzPzu/3FYI2w8d7XZ1Ji0=,
malla={clase_id=1,
Hi,
I've generated a mountable engine with Rails 3.2.13 and i've none problems
to generate a model after a controller...
Have you tested again ?
Best regards.
Le mardi 14 mai 2013 05:29:15 UTC+2, ma...@secondbureau.com a écrit :
I use `rails plugin new engine_name --mountable` to generate a
--
You received this message because you are subscribed to the Google Groups Ruby
on Rails: Talk group.
To unsubscribe from this group and stop receiving emails from it, send an email
to rubyonrails-talk+unsubscr...@googlegroups.com.
To post to this group, send email to
When should I create a new controller in a rails application?
--
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 unsubscribe from this group and stop receiving emails from it, send an email
to
Are there any rationalies to make queries obtained by joining scope to be
readonly? I read some old posts (pre-rails3) that joins adds additional
columns to record so that ActiveRecord doesn't know how to update that
fields, but actually I don't see that fields. For example I write model
class
On Tuesday, May 14, 2013 10:26:56 AM UTC+1, Илья Воронцов wrote:
Are there any rationalies to make queries obtained by joining scope to be
readonly? I read some old posts (pre-rails3) that joins adds additional
columns to record so that ActiveRecord doesn't know how to update that
On 14 May 2013 11:12, Frederick Cheung frederick.che...@gmail.com wrote:
On Tuesday, May 14, 2013 10:26:56 AM UTC+1, Илья Воронцов wrote:
Are there any rationalies to make queries obtained by joining scope to be
readonly? I read some old posts (pre-rails3) that joins adds additional
columns
On Tuesday, May 14, 2013 11:14:56 AM UTC+1, Colin Law wrote:
Should the OP be using includes rather than joins?
Hard to tell.
Fred
--
You received this message because you are subscribed to the Google Groups Ruby
on Rails: Talk group.
To unsubscribe from this group and stop receiving
On Tuesday, May 14, 2013 10:26:56 AM UTC+1, Илья Воронцов wrote:
Order Load (2.0ms) SELECT orders.* FROM orders INNER JOIN
order_executors ON order_executors.order_id = orders.id INNER
JOIN specialists ON specialists.id =
order_executors.specialist_id WHERE specialists.id = 1
= [#Order
Thank you, Frederik.
I think in my case joins is better because I don't want any orders except
those having exact executor (with includes I'll get lots of orders without
any executor at all, if I understand its behavior right)
I tried to get specialist_id and got nothing. So it looks, there is
Please let me know the best number to contact you if you would like the
know more.
Email your CV to christine.w...@squareoneresources.com
This position will be based in the UK so there will be NO remote working.
--
You received this message because you are subscribed to the Google Groups
Praveen BK wrote in post #1108907:
When should I create a new controller in a rails application?
Basically the same as in any other MVC based system. When you need to
manage user actions and communicate information between views and
models.
The most common pattern is to have a controller with
When I ran cap deploy:setup, the following actually installed rvm,
ruby and the online_store gemset on my staging server:
set :rvm_ruby_string, 'ruby-1.9.3-p0@online_store'
set :rvm_autolibs_flag, read-only
set :rvm_type, :system
set :rvm_install_with_sudo, true
before 'deploy:setup',
I was following these instructions for capistrano deployment:
https://github.com/capistrano/capistrano/wiki/2.x-From-The-Beginning
Under the section Application Layer Initialization, it says:
We need to tell Capistrano how to “spin up” (start) our application
layer. The precise way this works
thanks Dheeraj Kumar
*kanna(9742665400)*...
On Tue, Apr 23, 2013 at 6:31 PM, Dheeraj Kumar a.dheeraj.ku...@gmail.comwrote:
The latest bundler is 1.3.5. Try updating it using `gem update bundler`
and then running the bundle command.
--
Dheeraj Kumar
On Tuesday 23 April 2013 at
Thank you for your help and encouragement. I am pleased to report that my
first Ruby on Rails site is now operational. Bargain Stock Funds (
http://www.bargainstockfunds.com) now displays profiles of over 10,000
stock ETFs and mutual funds from the value investing point of view. There
are
On 14 May 2013 16:59, Jason Hsu, Android developer jhsu802...@gmail.com wrote:
Thank you for your help and encouragement. I am pleased to report that my
first Ruby on Rails site is now operational. Bargain Stock Funds
(http://www.bargainstockfunds.com) now displays profiles of over 10,000
How do you know which patch level to use for ruby? I have one project that
uses ruby-1.9.3-p0. When I cd into another project, it
says: ruby-1.9.3-p392 is not installed. So which to use: ruby-1.9.3-p0
or ruby-1.9.3-p392?
--
You received this message because you are subscribed to the Google
John Merlino wrote in post #1108958:
How do you know which patch level to use for ruby? I have one project
that
uses ruby-1.9.3-p0. When I cd into another project, it
says: ruby-1.9.3-p392 is not installed. So which to use: ruby-1.9.3-p0
or ruby-1.9.3-p392?
What are you using to manage your
On Tue, May 14, 2013 at 9:37 AM, John Merlino stoici...@aol.com wrote:
How do you know which patch level to use for ruby? I have one project that
uses ruby-1.9.3-p0. When I cd into another project, it says: ruby-1.9.3-p392
is not installed. So which to use: ruby-1.9.3-p0 or ruby-1.9.3-p392?
On May 14, 2013, at 12:37 PM, John Merlino wrote:
How do you know which patch level to use for ruby? I have one project that
uses ruby-1.9.3-p0. When I cd into another project, it says: ruby-1.9.3-p392
is not installed. So which to use: ruby-1.9.3-p0 or ruby-1.9.3-p392?
Personally, with
John Merlino wrote in post #1108530:
In the capistrano wiki, it contains this line:
set :scm_username, foo. If you access your source repository with a
different user name than you are logged into your local machine with,
Capistrano needs to know.
Actually the way I access my repository
I'm using capistrano. I added this to the recipe:
set :rvm_ruby_string, 'ruby-1.9.3-p0@online_store' # use
the same ruby as used locally for deployment
set :rvm_autolibs_flag, read-only# more info: rvm help
autolibs
set :rvm_type, :system
set :rvm_install_with_sudo, true
On Friday, May 10, 2013 4:36:18 PM UTC+1, John Merlino wrote:
In the capistrano wiki, it contains this line:
set :scm_username, “foo”. If you access your source repository with a
different user name than you are logged into your local machine with,
Capistrano needs to know.
Actually
My /usr/local/rvm/gems looks like this (on ubuntu server):
cache ruby-1.9.3-p0@globalruby-1.9.3-p194
ruby-1.9.3-p194@TrackingSystem
ruby-1.9.3-p0 ruby-1.9.3-p0@online_store ruby-1.9.3-p194@global
ruby-1.9.3-p392@TrackingSystem
Is this normal to be using so many patch levels?
On Tuesday, May 14, 2013 11:27:55 AM UTC-4, John Merlino wrote:
I was following these instructions for capistrano deployment:
https://github.com/capistrano/capistrano/wiki/2.x-From-The-Beginning
Under the section Application Layer Initialization, it says:
We need to tell Capistrano
I assume this is the most up to date documentation for running bundler
install when deploying a rails application with capistrano:
http://gembundler.com/v1.3/deploying.html
In the documentation, it offers two methods for deploying capistrano
with bundler: manual vs automatic.
Which is
On Tuesday, May 14, 2013 10:56:10 AM UTC-4, John Merlino wrote:
When I ran cap deploy:setup, the following actually installed rvm,
ruby and the online_store gemset on my staging server:
set :rvm_ruby_string, 'ruby-1.9.3-p0@online_store'
set :rvm_autolibs_flag, read-only
set
How to combine cucumber features with selenium that runs on rails 3.2
--
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 unsubscribe from this group and stop receiving emails from it, send an
I just released some bash scripts for keeping my numerous Ruby/Rails
development machines synchronized sanely. If you have a desktop, laptop,
cloud server etc. you bounce between and use RVM, brew and whatnot, you
might find them useful! Pull requests appreciated. :)
GitHub:
I think, my method create is wrong in controller MALLA
I want to save the ids selected in the view malla from the controller
MALLA.
def create
params[:malla][:level][:subject_ids]
@malla = Malla.new(params[:subject_ids][:level][:malla])
if @malla.save
redirect_to
I have my devise routes as
get /signup/employer = devise/registrations#new ,:as=:useremp
get /signup/contractor = devise/registrations#new,:as=
:usercontract
Both routes points to controller - registrations and action - new.When
i hit the URL /signup/employer then my form_for should have the
John Merlino wrote in post #1108980:
I assume this is the most up to date documentation for running bundler
install when deploying a rails application with capistrano:
http://gembundler.com/v1.3/deploying.html
In the documentation, it offers two methods for deploying capistrano
with
Nike Mike wrote in post #1109024:
I have my devise routes as
get /signup/employer = devise/registrations#new ,:as=:useremp
get /signup/contractor = devise/registrations#new,:as=
:usercontract
Both routes points to controller - registrations and action - new.When
i hit the URL
43 matches
Mail list logo