Displaying 20 results from an estimated 2000 matches similar to: "Netsuite data fetch"
2010 Nov 26
2
cucumber
Hello How do i test the tiny_mce using cucumber + capybara.
Thanks for any help.
abhis
--
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, send email to
2010 Apr 30
1
render_to_string problem
i have a scenario where a jquery is receiving a response in the string and
which content html component like "<div id=\"test\">test</div>" ideally in a
view it should display only "test" but it displaying entire string <div
id="test">test</div> is there any way i am deal with the problem through js
or rails?
Thanks
abhis
--
You
2009 Nov 27
1
Nested model + error message
Hello Friend,
I want to override the default error message, but some how I am not able to
implement it.
The scenario is
I have a user table and user detail table I have implement nested model.
And the below mention message is appearing and instead of that I want
something "User Name cannot be blank"
- *User detail given name can''t be blank*
Thanks
Abhis
--
You
2009 Nov 27
1
Cucumber + Paperclip
Hello Friends,
First time I am writing a scenario for uploading images. But some how
things are not working as it should be
The cucumber scenario is
And I attach the file at "/home/user/Desktop/sdasd.png" to "avatar"
And I press "Upload Logo"
But I trace it. its showing up
avatar_file_name: "sdasd.png", avatar_content_type:* "text/plain",*
2006 Aug 02
3
find_by_column_name and for loop returns undef method `each''
I''m trying to understand how to select only certain rows in my database
using RoR.
As a test I try to find certain clients by adding this code in my list
view...
<% clientlist = Client.find_by_client_status_id(1) %>
<% if clientlist %> <= This prevents me from getting nil errors.
<% for client in clientlist %> <= This seems to try and call
2009 Apr 21
3
attachment_fu giving problem on production
Hello friends,
I have configured attachment_f. It''s working fine on Local(development)
system but giving problem on production. Basically on production the
attachment_fu is not able to generate thumbnail image it saving the original
size image. Below is the configuration.
has_attachment :content_type => :image,
:storage => :file_system,
:max_size
2014 Apr 14
0
Pairing Data 2-D array
I have class A.
I have a class B with attributes c and d.
A has many Bs.
I get an instance of A using
a = find_by....
I can get a listing (enumeration) of values for attribute b using map
function.
a.b.map{ |x| x.c}
c1
c2
c3
However, I want c and d returned and paired together in an array like a
2-d array.
c1 d1
c2 d2
c3 c3
What's the best way to do this? Map won't work,
2008 Sep 23
0
Questions on Active Record SQL type Finders & Dynamic Finder
Hi,
I understand there are total 11 types of key Options for finding a
record.
The all 11 valid keys for the options hash are :conditions,
:include, :order, :select, :group, :joins, :from, :limit, :offset,
:readonly, and :lock.
We also have Dynamic Finders for the same. e.g. ... find_by etc...
I would like to know, how many types of dynamic finders, Active Record
provides, to match all those
2006 Oct 17
0
TypeError (can't convert Bignum into Hash):
This error has been driving me nuts. It happens with no regularity or
pattern and causes a 500 App error. Refreshing will always display as
normal (http 200)
The back trace always starts with
TypeError (can''t convert Bignum into Hash):
/usr/lib/ruby/gems/1.8/gems/activerecord-1.14.4/lib/active_record/connection_adapters/mysql_adapter.rb:342:in
`update''
2010 Nov 26
0
Cucumber + Capybara + tiny_mce Problem
Hello
I want to test the the tiny_mce using cucumber and capybara and I got a
solution in the following thred "
http://groups.google.com/group/ruby-capybara/browse_thread/thread/711d08ddceb9276?pli=1"
but somehow I am getting the following error
*private method `bridge'' called for
#<Selenium::WebDriver::Driver:0x..fb55cd4f0 browser=:firefox>
(NoMethodError)*
Is there
2009 Aug 12
0
Like Google tasks
Hello friends,
I am looking out something similar functionality like google tasks do, i
mean the behavior of the task popup window. Is there any Javascript library
available which I can integrate
Thanks
Abhis
2009 Nov 30
0
AJax form + jquery + popup window
Hello Friend,
I am a popup window when I am write down a invitation functionality.
So is that any good reference available online using Jquery that will be
great.
Thanks
Abhis
--
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
2009 Sep 22
0
EXTJS + drag and drop
Hello friends
I need to configure the extjs drag and drop but somehow i am not able to
display it.
my controller contains the following code
def index
respond_to do |format|
format.html
format.ext_json { render :json => User.all.to_ext_json }
end
end
and in the index.erb
<div id="layout"></div>
I have included all the necessary js file which is
2011 Sep 04
1
polymorphic association
Hello,
I have a scenario where I want to save a author image and book image to
assets table...
I am using a polymorphic association.
And author_name is inside the books table.
now when I save the image the imageable_type says "Book" for both. And
off-course it''s a correct behavior, but I am just trying to figure out is
there any way where I can save author image and
2008 Oct 06
8
.htaccess rewrite
can someone help me with an .htaccess rewrite?
i''m trying to convert all requests to "/?spot=8888" to be "/locations/
888".
thanks.
--~--~---------~--~----~------------~-------~--~----~
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
2009 Aug 24
1
Authlogic Forgot Password
Hi,
Has anyone implemented the Authlogic forgot password stuff?
Please let us know how to, if anyone has or has the code for it.
Thanks,
Pratik
2009 Jul 30
4
attachment_fu + :path_prefix
Hello friends,
I have a query like I am using a attchment_fu to store images.
But the i don''t want to store to the default path let say :path_prefix =>
''public/uploads'' i want a dyname path for e.g :path_prefix => ''public/#{
current_user.id}'', So just wanted to know how can i say images to the
dynamic location.
Regards
Abhishek Shukla
2012 Feb 10
2
Discrete Event Simulation problem
Hi All,
I am attempting to simulation an inventory model on R and I am having some
problems. I believe the problem is when I define my demand rate is stays
constant throughout so when I do need to reorder the model does not
recognise it as I have the initial supply arrival time set to infinity at
the start as no order has been played but I have an if statement saying, if
the level falls below a
2006 Apr 18
1
''wrong number of arguments'' for text_field?
This is probably something very simple but I can''t seem to figure out
why I keep getting the ''wrong number of arguments (1 for 2)'' error with
the following code when I try to create a new record. If anyone can see
what is going wrong here please help!
new.rhtml
-------------------------------------------------
...
<%= start_form_tag :action =>
2012 Dec 12
0
puppet dashbaord inventory
I have a puppet master install which uses puppetdb. I also have puppet
dashboard installed with the inventory service running. I want multiple
puppet masters using a single puppetDB server. Puppetdb is installed on
separate vm.
How can I get the dashboard inventory to use the puppetdb server to get the
inventory records? Where do I configure the dashboard inventory so it uses
puppetdb?
I