Displaying 6 results from an estimated 6 matches for "image_link".
2006 Jul 28
2
has_many :through with :order column on the join model
I have a model like so
class Product < ActiveRecord::Base
has_many :image_links, :order => :position
has_many :product_images,
:order => ''image_links.position'',
:through => :image_links
end
The problem is that :order clause just gets ignored. How do you server
records in a specific order when the order column is on the joi...
1999 Nov 12
0
Careful of SWAT 2.0.6
...ns can write (or overwrite) them.
I liked the old way, where I could log in as an unpriveleged user and know
I could look but not touch.
So I put it back the way it was. In swat.c, static void
show_main_buttons(void), there is the following code:
if (have_write_access) {
image_link("Globals", "globals", "images/globals.gif");
image_link("Shares", "shares", "images/shares.gif");
image_link("Printers", "printers", "images/printers.gif");
}
if...
2005 Jan 27
1
Modifying SWAT views for general users
I'm looking at having my general Samba users change their own passwords on
my Linux server using SWAT. Is there a way that I can have them have
access to the password changing view and not be able to see the
configuration and status information. Is there an easy way for those
"button" to not appear on the web page?
Roy Costa
roycosta at us.ibm.com
2007 Oct 12
2
missing attribute: reorder
..._procedure.reorder == 1 %>
<%= link_to(image_tag("blue_sync.png"), { :controller =>
''manage_plan_procedures'', :action => ''reorder'', :id =>
plan_procedure.id}, {:border => 0, :title => "Reorder Cases", :class
=> "image_link"}) %>
<% end %>
I am setting this with an update_all
PlanProcedure.update_all("reorder = 1","procedure_id =
#...@procedure.id}")
and the reorder field is properly being set.
Has anyone seen something like this before and have any ideas?
--~--~---------~--~-...
2009 Mar 13
7
rails, passenger, and images
Just switched over to passenger for development and production for my
rails app. Liking it so far.
My problem is my image_links, stylesheet_tag_links, and
javascript_tag_links are all adding "http://localhost:3000 to the
generated links. I got around the stylesheet and js links by not using
the helpers.
I can access my all of my assets directly via http://dating.local/stylesheets/all.css,
for example.
I used passeng...
1999 Nov 17
4
2.0.6: HUP/charset/profiles/smbmount/logging
This is the list of problems I had with samba-2.0.6 so far. Can anyone
tell me if he can reproduce them and if he considers them as problems?
2.0.6 on linux 2.2.13 or 2.0.33
1)
sighup/log reopening doesn't always work: connections that are already
active keep logging to the old logs; logrotate rotates/zip the logs and
samba stops logging completely till restart.
2)
Localized chars.
I have