similar to: Trouble with rendering partials

Displaying 20 results from an estimated 1100 matches similar to: "Trouble with rendering partials"

2009 Oct 25
3
Image_tag Positioning/Alignment
Hi: I searched the forum before posting and could not find any help on how to position an image using image_tag (''image_name''). I have an image in a div, and I need to move it to the right. How do I this? I have this code: <div id="mainDivright"><%= image_tag (''name.gif''), :options => {:align=>"right" } %></div> I
2019 Nov 30
3
Converting LVM to qcow2
Hi! I need to convert a KVM virtual machine from LVM to a qcow2 image, and wonder if this is the best way to do it (*1): [$] qemu-img convert -O qcow2 /dev/vg_name/lv_name/ /var/lib/libvirt/images/image_name.qcow2 If this is the best way to do this, will this keep the information on: /dev/vg_name/lv_name/ untouched? Thanks, and please point me towards another mailing list if this it not right
2006 Jul 18
4
Limiting markdown/textile
I''m using RedCloth for a forum type app. I want users to have control over the look of their posts, but within limits. For example, I don''t want them to be able to include images or use header tags. The RedCloth documentation is pretty thin and I don''t feel it''s very explanatory. I''m wondering if there''s any easy way to do this? Or do I
2013 Apr 15
1
View saved workspace commands
R version : 2.15.2 Windows: 7 32-bit Hello, I was trying to load a saved workspace image from the working directory. I issued the command load('image_name') in R console. It did not throw any error, but then it returned the prompt. I want to view the commands (or history) I typed there, how do I do that? Pressing up arrow does not bring any of this workspace command, it rather brings
2015 Nov 11
2
[PATCH 1/2] dib: Make the interface between cmdline.ml and dib.ml explicit.
--- dib/Makefile.am | 5 ++- dib/cmdline.ml | 49 +++++++++++++++++++++--- dib/cmdline.mli | 51 +++++++++++++++++++++++++ dib/dib.ml | 113 ++++++++++++++++++++++++++++++-------------------------- 4 files changed, 158 insertions(+), 60 deletions(-) create mode 100644 dib/cmdline.mli diff --git a/dib/Makefile.am b/dib/Makefile.am index 0786d64..ad1fd6a 100644 --- a/dib/Makefile.am +++
2006 Jan 25
1
url_for_file_column in parent model''s view
Hi All, I am using the file_column plugin to upload images. The model that I am using is simply called images (id, name, caption - name being the "file" column) and it belongs_to a parent model called books which has_many images. I was able to figure out how to enter the images into the correct model when updating of form of the parent model (books). Now I need to figure out
2006 May 11
4
modelling data to specify user access
Hello, this is my second Rails app, and the first one I did had simple data mapping. This time I am building a site for a photographer, and they want to upload photos, and create galleries that only certain clients can log in and have access to. There will be multiple galleries, and the access to them will vary depending on how the admin assigns it to each client. There is also a porftolio
2013 May 04
2
failed exaile install
I'm trying to install the exaile package on my newly upgraded CentOS 6.4 machine. It fails (see below) with missing dependencies on python-cddb and gnome-python2-gtkmozembed. I found this thread but there does not seem to be any resolution. \ Has anyone got this installed? Am I missing a repo? Thanks, Steve # yum install exaile Loaded plugins: fastestmirror, refresh-packagekit, security
2006 Mar 30
2
How do I format text before saving it?
I tried to use a before_save and use simple_format, it returns and undefined method error. Can I even use these methods within a model? I tried to use auto_link and it failed too. What am I doing wrong? Furthermore, would it be recommended I format text before saving it to the database? Advantages or disadvantages? -- Posted via http://www.ruby-forum.com/.
2017 Feb 02
7
[PATCH 0/6] dib: various improvements
Hi, this series improves virt-dib, adding some upstream changes, and refactoring the handling of output formats. Thanks, Pino Toscano (6): dib: clear up "already provided" message dib: add --checksum dib: pass custom mkfs options after the filesystem type dib: refactor output formats handling dib: clarify "output:" lines in --machine-readable documentation dib:
2006 Apr 19
5
Apache, Rails, FastCGI, Ruby, slow
I''m running Windows XP Pro on a not-so-new machine, Pentium 4 2.4GHz with 512 RAM. I''ve got Apache 2 installed and I''m using FastCGI to run Typo in development mode while I design a theme for it. But it''s slow, very slow. Inconsistently slow. If I reload a page, sometimes it happens pretty quickly. Sometimes it takes more than a minute. Sometimes it
2006 Jul 18
9
Displaying HTML pulled directly from a database
How can I get RoR to display html pulled directly from a database, without converting the tags. (e.g. if "<h1>Hello</h1>" is stored (as text) in a database, how can I get RoR NOT to corvert it to "&lt;h1&gt;Hello</h1>", but instead to just pass the tags along so that "Hello" displays in bold. I''m sure it''s just a
2017 Feb 14
0
[PATCH 10/10] dib: add squashfs output format
Implement the "squash" output format, i.e. a squashfs compressed filesystem. This was implemented in diskimage-builder upstream as commit 9d13084c4183b63587e1f5e4b03395a8df6538f6. --- dib/Makefile.am | 1 + dib/output_format_squashfs.ml | 39 +++++++++++++++++++++++++++++++++++++++ dib/utils.ml | 1 + dib/virt-dib.pod | 6 ++++++ 4 files
2008 May 19
11
Rosetta Stone again
Many people have discussed the problems with Rosetta Stone, in particular the failure to detect the cdrom with the "Language Pack". I am having the same problem, but none of the described solutions work for me. I think that my dosdevices are configured correctly: niemand at dell dosdevices $ ls -l total 0 lrwxrwxrwx 1 niemand users 10 2007-09-07 11:59 c: -> ../drive_c lrwxrwxrwx 1
2008 May 19
11
Rosetta Stone again
Many people have discussed the problems with Rosetta Stone, in particular the failure to detect the cdrom with the "Language Pack". I am having the same problem, but none of the described solutions work for me. I think that my dosdevices are configured correctly: niemand at dell dosdevices $ ls -l total 0 lrwxrwxrwx 1 niemand users 10 2007-09-07 11:59 c: -> ../drive_c lrwxrwxrwx 1
2007 Mar 27
7
Eager loading not working well for me
Man my app is causing me so much grief lately. Okay let''s say I have: class Discussion has_many :posts end class Post belongs_to :discussion acts_as_tree end Then let''s say I grab a discussion object and try to eager load all of its posts: discussion = Discussion.find(:first, :include => [:posts]) Seems simple enough and it grabs an entire tree of posts. However:
2006 Jul 22
7
Validation with has_many
I have two problems. I have a comment that has_many uploads. Before saving the comment, I want to be sure that the upload(s) has passed validation, but I also need to validate in other ways. For example, I do not want to save the comment if there is no comment or upload. Or, I do not want to save the comment if the image has been uploaded previously (comparing md5s with past upload md5s
2006 May 12
5
Bumping threads in a forum-type app
I have a forum-type application. The Board model has many comments, the Comments model acts as a tree. So I have a board with multiple comments, some comments are parent comments and there are comments that belong to a parent comment, making up a thread. Like most forums, I want it so that threads are sorted based on the date of their last comment. But I have no idea how to specify this in
2015 May 29
0
[PATCH v3] RFC: New virt-dib tool
virt-dib is a new tool to run the elements of diskimage-builder using libguestfs. --- More or less stable now, although with debug stuff here and there; needs initial review, for being included. I would like to have it reviewed at this point, so it can be broadly used. TODO items open: - improve the documentation - review - getting more testing (although it has been successfully tested for
2015 Mar 31
0
[PATCH] WIP: New virt-dib tool
virt-dib is a new tool to run the elements of diskimage-builder using libguestfs. --- Work in progress (debug stuff here and there), although I've submitting it for initial review, for being included later when polished for good. TODO items open: - move Uname from builder to mllib - improve the documentation - review - getting more testing (although it has been successfully tested for