Displaying 20 results from an estimated 6000 matches similar to: "White-labeling - config.plugins-fu fails in Rails 2.1"
2003 May 07
2
Plot labeling question
I have an older Splus script that generated some
regression graphics for me. In it, I used the commands
key(10,800,text="<blah1>",border=0)
key(10,750,text="<blah2>", border=0, background = 9)
text(locator(1),"95% Confidence Limits")
locator(n=2,type="l")
text(locator(1),"Model for Group 1")
locator(n=2,type="l")
There is
2011 Jul 11
2
Can't get this Rspec test to pass
Hello,
I''m completely new to Rspec testing and I''m finding it very difficult to
mock specific objects.
In this test, I have a before block setup as such:
[code]
before do
setup_controller_for_warden
controller.session[:operation_id] = 1
@operator = Factory :operator
sign_in :operator, @operator
@persist_herd = Herd.new
2007 Jun 11
0
Selenium RC Fu (plus js unit)
We''ve been threatening to open source this for a while, most recently
during Alex and Brian''s talk at Railsconf [1]. See the readme [2]
for more info, and the source/rdocs for all the gory details.
Feedback and contributions are very welcome.
Thanks,
pt.
[1] http://www.slideshare.net/alexchaffee/fullstack-webapp-testing-with-selenium-and-rails
[2]
== Introduction
Welcome to
2008 Mar 20
0
Having trouble with a remote-crop-then-resize using attachment fu =(
Basically, I''m trying to crop multiple images out of a remote/original
scene.. Think flickr ''tagging'', only, the pixs in the tagged boxes
become their own unique images.. by way of simulating an upload from
the controller using attachment fu.. can''t quite figure out the
specific method in fu that would allow me to do this.. I''m so near the
edge right
2010 May 28
0
dynamically generating subdomains using subdomain-fu
hi,
I am using subdomain-fu for creating subdomains . My doubt is how
can we give the subdomains in the etc/hosts ,when the sub-domains are
dynamicallybeing created.
Ex: i created a subdomain called "user1" and i specified this in etc/
hosts file.So eveery time i cant specify the subdomain which is being
created.So can i ovecome this problem.
--
You received this message because
2008 Nov 26
0
Best Configuration for attachment fu (images)
Hello,
Well I''ll like to know which is the best configuration or the most
used (standard) when uploading images via attachment fu (or related).
In particular I''ll like to know which is the best resizing option and
the best "thumbnail" size for large images. This is my current
configuration. When I resize strictly to 640x480 the image loses its
original ratio.
2010 Feb 24
0
Attachment fu file path
Hi I am using attachment fu plugin for uploading data.
say : User has_many :photos
I wanted to save the uploaded photo in the path as follows.
/files/<user_id>/photos/1.jpg - while uploading first photo
/files/<user_id>/photos/2.jpg - while uploading second photo
1) Is there any way to make a folder name with user id ?
2) Is there any way to rename the file in sequential order ?
2006 May 19
1
[LLVMdev] LaTex fu and \mu
Dear All,
I would like to use the greek letter mu \mu in my paper for the
abbreviation for microseconds. For some reason,\mu does not work. Does
anyone know if I need to add a \usepackage or something?
Thanks in advance.
-- John T.
2012 Dec 05
0
[LLVMdev] [Git-fu] How to commit inter-repositories atomically to svn
Sean Silva asked me, "How are you committing across both projects
simultaneously?"
For example, r167595.
http://llvm.org/viewvc/llvm-project?view=rev&revision=167595
For the record, I introduce a how-to.
Yeah it's troublesome. I don't do usually.
[Prerequisites]
* subtree-merged git repo. https://github.com/chapuni/llvm-project
* Assume you are working on llvm-project.
*
2006 Jan 13
1
association callbacks
Hello all. I am looking for some feedback on an implementation. I''m writing
a plugin that will log all model changes. I do not want to have to add a
line a code for this functionality every time I create a model. Instead I
create a table with the name <model>_changes.
The basic stuff was easy:
base.after_create {|model|
model.log_create if model.has_backup_table?
2009 Jan 11
4
Large uploads with attchment-fu
Hi
I am trying to upload 30mb files with attachment-fu, these seem to
just hang. (works file for small image files)
I am using mongrel cluster and nginx...
Does anyone have any advice?
Thanks
Richard
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group,
2009 Apr 09
0
Can't join to domain, Google-fu has failed me
Hi,
I've been using Samba for years as a domain controller without issue,
but this has stumped me.
I've set up Windows Vista Enterprise SP1 on a Virtual PC. Samba is
running on a Gentoo Linux box as version 3.3.3. I can access shares
without issue, but I can't get the machine to join the domain. When it
tries it shows "The parameter is incorrect".
Delving into
2006 Sep 07
1
labeling graphs
I am trying to add text at specific location on my graph. I know this
can be done in R but I can't recollect.
I was trying using locator() to identify the position and use identify()
but I can get it to work. Can someone jog my memory?
Thanks ../Murli
[[alternative HTML version deleted]]
2007 Jul 22
3
Attachment fu on windows
I''ve tried and tried. I couldn''t get freeimage installed. I got
mini_magick installed, but everytime I try Mike Clark''s tutorial, I
get the error ''Size is not in the list''. I found some people fixed
this by putting a sleep statement in their controller, but this didn''t
work for me. Any help out there?
2006 Sep 26
4
Some documents not found
I''m a ferret newbie, so hopefully I''m missing something simple :)
I am using ferret to index data about 36,000 products from a MySQL
database. The index has one document for each product, with these
important fields:
id: the id (unique) of the product record in the database
content: a concatenation of several bits of information from the product
and associated records
I
2006 Dec 20
0
undefined method `to_sym' for #<YAML::Syck::MergeKey...
I have a stock gentoo rails install. I get something like this when I
try to use script/generate, rake migrate or script/console and probably
others.
0 wicked www/sharkwatch % ./script/console
Loading development environment.
/usr/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/core_ext/hash/keys.rb:27:in
`symbolize_keys'':NoMethodError: undefined method `to_sym''
2010 Jun 07
1
undefined method 'to_sym' for ["<var>", "<var">]:Array
I am running into a problem with my LDAP puppet setup with this error
message:
PuppetClient:
err: Could not retrieve catalog from remote server: Error 400 on SERVER:
Could not parse for environment DR: undefined method `to_sym'' for ["ENV1",
"ENV2"]:Array
PuppetMaster:
err: Could not parse for environment DR: undefined method `to_sym'' for
["ENV1",
2012 Jan 17
4
Exported variable foo...(fu?)
Hi folks,
For the first time since I started playing with puppet I started down the
road of using exported resources This was inspired by my reading all of the
nagios related recipes that went something along the lines of
class nagios {
package {nagios: ensure=> latest }
service {nagios : ensure => running , enable => true}
Nagios_host <<! !>>
2010 Oct 02
2
How to write a test hash for a nested form??
How to write a hash for a nested form??
Example form fields (main model is Practice, nested is User):
practice[name]
practice[users_attributes][0][email]
I want to do this:
post:
post :create, :practice => { :name => "any name", :users_attributes => {
:0 => { :email => "anyone-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org" } } }
The issue is that I can not create
2007 Dec 13
4
please explain find_with_ferret, retrieve_records, :include and :conditions
Hello, I''m using find_with_ferret to search multiple models and it
works great. The trouble is I need to filter the results
using :include and :conditions.
I get two errors depending on the syntax I use in the search. Reading
the source, I see the retrieve_records method seems to filter
the :include and :conditions so that they only apply to the relevant
model when searching