Cool and congrats...would you like this to go on IndiaRubyConsortium?
Thanks and Regards
Satish Kota
Administrator, IndiaRubyConsortium
-Original Message-
From: bangalore...@googlegroups.com [mailto:bangalore...@googlegroups.com]
On Behalf Of hemanth
Sent: Sunday, June 12, 2011 11:50 PM
On Jun 13, 5:21 am, gerbdla gerb...@gmail.com wrote:
Hi not sure if this is where I should post this problem but since
upgrading to rails 3.07 dup is not working as expected for Hash
basically in method I have this
dup_row = row.dup
#then I delete a row of my original hash
Hi All,
I am using rails2.3.4 version ruby version 1.8.7 for my product.My client
suggest me to apply if any security patches (security needs to be fixed in
rails 2.3.4 ruby 1.8.7) available. I dont know where and how should i find
it.Please suggest me an idea or anyone knows any security patches
If you want deep copy you should use Marshal:
class Hash
def deep_dup
Marshal::load(Marshal::dump(self))
end
end
foo = {:b={:c={:d=1}}}
bar = foo.deep_dup
foo[:b][:c][:d] = 2
p foo # = {:b={:c={:d=2}}}
p bar # = {:b={:c={:d=1}}}
On 13 июн, 07:21, gerbdla gerb...@gmail.com wrote:
Hi
On 12 June 2011 23:46, Mauro mrsan...@gmail.com wrote:
I have:
check_box_tag supplier[category_ids][],
category.id,@supplier.categories.include?(category).
I want to include @supplier.categories.include?(category) only if
@supplier is not nil.
Have you tried
On 13 June 2011 08:05, seeni khan rafigl...@gmail.com wrote:
Hi All,
I am using rails2.3.4 version ruby version 1.8.7 for my product.My client
suggest me to apply if any security patches (security needs to be fixed in
rails 2.3.4 ruby 1.8.7) available. I dont know where and how should i find
Sure. Is there anything I need to do for that?
On Mon, Jun 13, 2011 at 11:42 AM, Satish N Kota
satishk...@heurionconsulting.com wrote:
Cool and congrats...would you like this to go on IndiaRubyConsortium?
Thanks and Regards
Satish Kota
Administrator, IndiaRubyConsortium
-Original
On Thu, Jun 9, 2011 at 6:16 AM, tashfeen.ekram tashfeen.ek...@gmail.comwrote:
just to make sure i dunerstood this. so to optimize ranking, when
soeone types in xxx.com it should be routed to www.xxx.com at the
level of the http server?
yes, you are right.
On Jun 2, 5:10 am, Chris Kottom
Thanks for your reply Andrew. Your answer saved me from googling a little
bit more.
I'll have a look to the quick fix.
If you need more details let me know.
Thanks
On Sun, Jun 12, 2011 at 11:14 PM, Andrew France
andrew-li...@odaeus.co.ukwrote:
Hi Federico,
Ruport is not currently Ruby 1.9.2
On 13 June 2011 07:35, Colin Law clan...@googlemail.com wrote:
On 12 June 2011 23:46, Mauro mrsan...@gmail.com wrote:
I have:
check_box_tag supplier[category_ids][],
category.id,@supplier.categories.include?(category).
I want to include @supplier.categories.include?(category) only if
On 13 June 2011 11:43, Mauro mrsan...@gmail.com wrote:
On 13 June 2011 07:35, Colin Law clan...@googlemail.com wrote:
On 12 June 2011 23:46, Mauro mrsan...@gmail.com wrote:
I have:
check_box_tag supplier[category_ids][],
category.id,@supplier.categories.include?(category).
I want to include
Hi
I need to create a single page spreadsheet web application in RAILS
which should be exactly like google doc(should not use google docs
API). It should have the following features
1) should scroll from row to row/ cell to cell using arrow keys and
also want to copy and paste from cell to cell
I have a Rails 2 app using ssl_requirement plugin. Is it possible to
force HTTPS in any controller with one statement, instead of defining
the actions in any controller? \
i.e. ssl_required :all = :force
--
You received this message because you are subscribed to the Google Groups Ruby
on Rails:
Investigate javascript grids - there is a growing collection of both
free and pay-for clieent side grid frameworks available :)
Extjs
Jquery grid
Are two that come to mind.
Max
On 6/13/11, sar_dev sarhari...@gmail.com wrote:
Hi
I need to create a single page spreadsheet web application in
I'm going through The RSpec Book, and (specifically around page 333) I
encountered a problem. Basically, whenever I use should
have_selector in a nested form, it silently passes when it SHOULD
fail.
I've been copying the code exactly as from the book. Now, there is
one major difference - I'm
The error message is pretty clear - You haven't defined a current_usermethod in
your helper.
Check out Listing 9.16 in that tutorial you posted. That's where it
describes the current_user method you need to add.
http://ruby.railstutorial.org/chapters/sign-in-sign-out#code:current_user_working
Are you including SessionsHelper in you ApplicationController ?
class ApplicationController ActionController::Base
protect_from_forgery
include SessionsHelper
end
Simon
On Jun 12, 3:43 pm, Jen jen.bot...@gmail.com wrote:
Hi everyone,
I'm working through the tutorial at the following link
Hi,
Moved the authenticate method to the helper, after looking at the sample
app code from github. This seems to have solved the problem.
Thanks,
Jen.
On 13/06/11 14:49, Simon Baumgartner wrote:
Are you including SessionsHelper in you ApplicationController ?
class ApplicationController
Dear Associate,
This is Eric Hoffman from Panzer Solutions LLC, Let me know if you suitable
consultant for below position. If so, send me your updated resume and
contact details.
*Position: QA Analyst
Location : Indianapolis, IN
Duration: 12 months*
*Rate: $35/hr*
Candidates HAVE to have
On Jun 13, 8:36 am, daze dmonopol...@gmail.com wrote:
I'm going through The RSpec Book, and (specifically around page 333) I
encountered a problem. Basically, whenever I use should
have_selector in a nested form, it silently passes when it SHOULD
fail.
I've been copying the code exactly as
Hi,
I have a question that how to take a list of user on user table
def show_pic
@id = User.find(:all, :select = 'users.id')
@id.each do |i|
@pic = ActiveRecord::Base.connection.select_value(
select picture
from albums a
Same way you'd display the form any other place I'd imagine...
%= form_for(User.new, :as = :user, :url = registration_path(:user)) do |f| %
%= devise_error_messages! %
form fields here...
%= f.submit Sign up %
% end %
--
You received this message because you are subscribed to the Google
On 13 June 2011 18:33, Yennie joanne0...@gmail.com wrote:
@id = User.find(:all, :select = 'users.id')
@id.each do |i|
@pic = ActiveRecord::Base.connection.select_value(
select picture
from albums a
Thank you. But then what should be the work around for this with
Capybara? I was leaning toward using capybara...
Actually, do you recommend webrat over capybara? I just want one with
good documentation and stick with one for the sake of getting used to
the syntax.
Now... One last thing. I
Happy Monday Everyone,
Would you kindly help out a struggling nuby in solving this problem? I
have been researching all over, yet to find a workable solution.
Situation: A model [Announcement] that accepts nested attributes
[Recipients] via many_to_many :through = :awards relationship.
The
On Jun 13, 1:22 pm, daze dmonopol...@gmail.com wrote:
Thank you. But then what should be the work around for this with
Capybara? I was leaning toward using capybara...
rendered.should have_selector(form input[@type='submit'])
You can also use assert_select which ships with Rails and
Hello everyone,
I am new to rails and I am having some trouble getting the Devise
authorization plugin working. I can get the login page to display, but
when I enter the credentials for a known user (I seeded an account to
the database) it just says Invalid email or password, even though
I'm 100%
I have a Web Developer position available with the * Arlington, VA*. Please
let me know if you have anyone in mind.
Below is the JD.**
**
*Web Developer Technical Experience:** **
**- Experience developing and designing large, customer-facing websites** **
**- Expert skills in HTML, table-less
Hmm, So it looks like erros.add_to_base is deprecated in ActiveModel:
http://api.rubyonrails.org/classes/ActiveModel/Errors.html
I need to add an error, but I don't want to add it to a specific property (I
need you to fill out either a source_person or source_url, so I don't want to
prepend the
errors.add(:base,your text)
perhaps?
On Mon, Jun 13, 2011 at 3:08 PM, Peter Bell pe...@pbell.com wrote:
Hmm, So it looks like erros.add_to_base is deprecated in ActiveModel:
http://api.rubyonrails.org/classes/ActiveModel/Errors.html
I need to add an error, but I don't want to add it to a
Awesome - perfect. Thanks!
Best Wishes,
Peter
On Jun 13, 2011, at 6:11 PM, Martin Wawrusch wrote:
errors.add(:base,your text)
perhaps?
On Mon, Jun 13, 2011 at 3:08 PM, Peter Bell pe...@pbell.com wrote:
Hmm, So it looks like erros.add_to_base is deprecated in ActiveModel:
Guys, i'm having a problem similar with those reported with rails 3.0.4 and
sessions with ajax requests.
The problem is that i have an action that receives an ajax POST and sets an
session.
def test
session[:user] = me
end
but the session vanishes and don't become available in the
Excuse me, i have a typo in the text. What i was trying to say is that
anything I include in the session (within the POST request) is NOT propagate
to the next requests.
--
You received this message because you are subscribed to the Google Groups Ruby
on Rails: Talk group.
To view this
Dont work.
maybe because I'm already logged in when I try a new register?
On Mon, Jun 13, 2011 at 2:35 PM, Tim Shaffer timshaf...@me.com wrote:
Same way you'd display the form any other place I'd imagine...
%= form_for(User.new, :as = :user, :url = registration_path(:user)) do |f|
%
%=
Someone already need to list the registrations of user from devise?
I want to do this list, with the option of admin delete users.
I did not found nothing about that on documentation =/
--
*Fernando Aureliano*
--
You received this message because you are subscribed to the Google Groups
Sorry, I mean get the list of user id ...
cuz my query depends on user.id .. so i want to have a list which is array
to go through
the album..
On Mon, Jun 13, 2011 at 1:53 PM, Michael Pavling pavl...@gmail.com wrote:
On 13 June 2011 18:33, Yennie joanne0...@gmail.com wrote:
@id =
Which part doesn't work?
--
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/-/m5PzyPsORQ4J.
To post to this group, send email to
Hi,
I am writing this code in purpose that i can i select image from the
picture table and i want to get all the user so i can loop through
user1 , user2
and display the pic on bowers..
def show_image
@id = User.find(:all, :select = 'user.id')
for id in @id
@image =
The form appears, I put the data and go!
Dont show any erros, but the data are not recorded
On Mon, Jun 13, 2011 at 10:27 PM, Tim Shaffer timshaf...@me.com wrote:
Which part doesn't work?
--
You received this message because you are subscribed to the Google Groups
Ruby on Rails: Talk
Hello All
I have too many scanned notes i need to convert them into text and then user
may download that as pdf , How it can be done in RoR
Please help
Thanks in advance :)
--
You received this message because you are subscribed to the Google Groups Ruby
on Rails: Talk group.
To view
Refer to this:
http://www.tonyamoyal.com/2010/09/29/rails-authentication-with-devise-and-cancan-part-2-restful-resources-for-administrators/
and you are good to go. :)
On Tue, Jun 14, 2011 at 5:43 AM, Fernando Aureliano
m...@fernandoaureliano.com wrote:
Someone already need to list the
Hi:
I'm new to RoR and I apologize if this is a dumb question but I've
read the guides, searched the archives and found nothing.
If I generate a model object and then the scaffold_controller the
result is different than just running the scaffold generator (the
_form partial has no fields in the
42 matches
Mail list logo