Displaying 20 results from an estimated 10000 matches similar to: "Customising ''show''"
2006 Dec 14
12
Saving dates
Hi having trouble saving dates in my form i have the following in the
view
<%= date_select("details", "open_date") %>
and i have
@exhibition.open_date = params[:details][:open_date]
and then
@exhibition.save
All the other values form (not seen here) get saved but not the dates.
What am i doing wrong ?
--
Posted via http://www.ruby-forum.com/.
2006 Mar 01
4
graphics rendering
Hey
Has anyone got a graphics server running alongside ruby on rails? Kind
of new to graphics rendering on a web server, so some general tips on a
successful direction to go in would be great. I need it for automatic
rescaling of images, similar to flickr.
Thanks,
RGC
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2010 Jun 25
1
Call for Demos and Exhibition: The 7th International Conference on Autonomic and Trusted Computing (ATC 2010)
Call for Demos and Exhibition
The 7th International Conference on Autonomic and Trusted Computing (ATC
2010)
Xi'an China, October 26-29, 2010
http://www.nwpu.edu.cn/atc2010/
The ATC 2010 demo/exhibition program provides researchers and engineers
with opportunities to show their cutting-edge work presented in an
interactive fashion. The live demonstrations and exhibitions may include
2010 Jun 25
1
Call for Demos and Exhibition: The 7th International Conference on Autonomic and Trusted Computing (ATC 2010)
Call for Demos and Exhibition
The 7th International Conference on Autonomic and Trusted Computing (ATC
2010)
Xi'an China, October 26-29, 2010
http://www.nwpu.edu.cn/atc2010/
The ATC 2010 demo/exhibition program provides researchers and engineers
with opportunities to show their cutting-edge work presented in an
interactive fashion. The live demonstrations and exhibitions may include
2006 May 15
5
Australian Ruby/Rails Web Host
Skipped content of type multipart/alternative-------------- next part --------------
A non-text attachment was scrubbed...
Name: rebecca.vcf
Type: text/x-vcard
Size: 414 bytes
Desc: not available
Url : http://wrath.rubyonrails.org/pipermail/rails/attachments/20060515/4cd2f87d/rebecca.vcf
2013 Jan 23
4
to check if a character string is in a group of character strings
Hello,
How can I judge if a string is in a group of string? For example, I would like to have
if (subpool in pool){
}else{
}
Where
> pool = c("s1","s2")
> subpool = c("s1")
How can I write the "subpool in pool" right in R?
Thanks very much!
Cheers,
Rebecca
----------------------------------------------------------------------
This message,
2008 Feb 11
1
image_tag is it just plain Broken?
I''m trying
<%= link_to image_tag("#{gallery.link_to}"), gallery_path(gallery)
unless gallery.thumbnail_id == 0%>
and get the error:
ActionView::TemplateError (undefined method `image_tag'' for #<Gallery:
0xb7083be4>) on line #23 of app/views/users/index.rhtml
This is my definition of link_to
def link_to
unless self.thumbnail_id == 0
picture =
2006 Feb 25
2
Ruby Interface Recommendations Photo Gallery Creation?
Hi, I''m looking to create a gallery index page of thumbnail images which
point to their associated images galleries. Also, I would like to organize
the images from left to right and top to bottom. Furthermore, I would like
to limit the number of thumbnail images on the page. I guess that I''m
needing some type of horizontal looping interface for both the thumbnail
index page
2009 Feb 12
4
routes
I''m trying to figure this.
in my schools controller i want to do this....
# implement a create action to create just the review for the
School...
def create_review_for_a_school
@review = Review.new
@school = School.find(params[:school_id])
@review = @school.reviews.build(params[:review])
if @review.save # The creation worked....do this
flash[:notice] =
2006 Aug 13
5
problems with file_column plugin
1) installation is not as smooth as some other plug-ins. If you follow
the instructions on
http://www.kanthak.net/opensource/file_column/
it makes a directory called trunk instead of file_column. You have to
manually rename it to file_column. I guess this is a minor annoyance but
it gives me the feeling that things aren''t quite like other plugins.
2) I get this error: undefined
2008 Jan 21
7
undefined method error
Hello everyone,
I am following the Practical Rails: Social Networking
sites book. In chapter 7 photo gallery I am getting a
NoMethodError in Pages#show
Showing layouts/_menu.rhtml where line #12 raised:
undefined method `new_entry_path'' for #<ActionView::Base:0x52fa56c>
Extracted source (around line #12):
9: <% if is_logged_in? %>
10:
2009 Jul 19
9
Equipment_URL Failed to Generate (new_equipment_path)
I''m trying to use new_equipment_path, which creates the appropriate
link. But, when trying to evaluate "equipment/new" I get the error
below. I''ve included my routes (rake route). Equipment is one of those
words that pluralizes to "equipment", so the singular is right (from
what I know from this forum.
Any help would be appreciated.
Error:
equipment_url
2006 Jul 13
3
strange behavior with link_to for "blog" and "gallery"
Okay, what''s so different about the bellow code? When I use the link_to
function in a partial (three times passing "Stats", "Blog", and
"Gallery")...
<%= link_to(menuItem.to_s, :controller=>menuItem.to_s.downcase)%>
I get...
<a href="/stats">Stats</a>
<a href="/blog">Blog</a>
<a
2003 Nov 20
0
Antonsen's Personal Exhibition - News of G|A (0000604687)
Dear Ladies and Gentlemen,
We would like to introduce you Ani Antonsen?s personal exhibition.
She is an artist and in her country people call her ?A Queen of flowers?.
And everyone who is going to look at her exhibition will understand why the
article in a local paper, which has been published during one of her
exhibitions, said so about her.
You will be able to have a look on some of her
2005 Dec 19
1
<% unless params[:context] == :gallery -%> question
I have a template that is called by two different methods. I only want
part of it too show up when it is called from one of the methods. It
always shows up for me. Can someone help to point out my error? Below
is the method that should keep part of the tempate from printing, and
the relevent part of the template.
method:
def gallery
@product_pages,@products = paginate(:products,
2006 Jun 08
5
update only the join table in a HABTM - how?
I have a photographers app that requires giving access to galleries for
users. in one part, I want to be able to define gallery access for a
user seperate from updating any of the user info. I have this function:
def edit_access
@user = User.find(params[:id])
@user.galleries = Gallery.find(params[:gallery_ids]) if
params[:gallery_ids]
if @user.update_attributes(params[:user])
2005 Aug 03
3
prcomp eigenvalues
Hello,
Can you get eigenvalues in addition to eigevectors using prcomp? If so how?
I am unable to use princomp due to small sample sizes.
Thank you in advance for your help!
Rebecca Young
--
Rebecca Young
Graduate Student
Ecology & Evolutionary Biology, Badyaev Lab
University of Arizona
1041 E Lowell
Tucson, AZ 85721-0088
Office: 425BSW
rlyoung at email.arizona.edu
(520) 621-4005
2016 Jul 08
2
Problem with Samba 4 samba_dnsupdate
Hello!
I have a problem in my AD, after removing a file server that was as AD
member.
I can no longer put any computer in the domain.
In the Samba 4, run a command like wbinfo - u. wbinfo -g, samba-tool user
list and it works, but when I type samba_dnsupdate --all-name
--verbose generates
the following error:
Traceback (most recent call last):
File "/opt/samba/sbin/samba_dnsupdate",
2008 Dec 23
2
NoMethodError in Book#show_subjects
Hi,
I am quite new to ROR.I am trying to create a rails simple application
that has informations about Books and Subjects.Srangely, I finished
creating a basic application, and it worked fine.
But then , I just tried to add some more values in the database, and
faced problem with migration, that just made me crazy. SO I deleted the
database and did the database and migration thing all over again
2008 Apr 13
20
uninitialized constant
Hi guys, I''m part way through a RoR application, for some reason
whenever I add new controllers (using scaffold) I get an uninitialized
constant [name of controller] error.
The first few controllers work fine, the only thing I can see that I''ve
changed is the layout file (but scaffold creates a new layout for each
controller so can''t see that being the problem). You