Displaying 20 results from an estimated 1100 matches similar to: "[Fwd: pxelinux doesn't suppress common prefix if nothing precedes double colon]"
2007 Aug 26
1
pxelinux doesn't suppress common prefix if nothing precedes double colon
Contrary to the pxelinux.doc documentation, the common filename prefix
is only suppressed if an explicit hostname or IP address precedes the
double colon, e.g. 192.168.1.1::/foobar. A tcpdump of TFTP requests
reveals that the double colon does nothing in implicit case (::/foobar
is the same as /foobar, i.e. gets mapped to /pxelinux//foobar or
whatever). 0.0.0.0::/foobar also does this.
I
2010 May 10
1
Number and colon precedes some package names in yum.log
What is the meaning of the "4:", "2:", "30:" and "1:" prefixes for the
following entries in yum.log? Most entries in yum.log don't have
them.
grep "Installed: [0-9]*:" /var/log/yum.log
May 07 16:45:53 Installed: 4:perl-5.8.8-27.el5.i386
May 07 16:58:21 Installed: 2:xinetd-2.3.14-10.el5.i386
May 07 17:03:43 Installed:
2006 Mar 27
9
rename app>controller subfolder crashes app
Help,
I changed a folder name in my app>controller from admin to company and
now I get a company is not a class error.
I do not have any custom routes set and have changed all references to
admin, no joy.
Does ruby / rails have a cache of the names?
--
Posted via http://www.ruby-forum.com/.
2006 Apr 03
7
Javascript helpers not updating table row in IE6
Trying to replace a table row with an id using both RJS templates and
normal link_to_remote :update. Neither work in IE6, fine in FF etc.
If I use the same code but target a div with an ID it works. This is
tricky as I have a table with edit buttons, when the button is pressed
that row gets updated with a partial containing a form for update. I
need this to work as II don''t fancy
2006 Dec 15
8
Early morning strange error saying: Status: 500 Internal Server Error
So I have updated to the latest mongrel and fastthread and my
environment is as follows:
Debian 3.1
Rails 1.1.6
Ruby 1.8.5
Mongrel 0.3.18
Fastthread 0.4
Mongrel Cluster 0.2.1
Apache 2.2.3
I again woke up this morning to my disappointment of seeing the
strange Status: 500 Internal Server error. It happens the same every
morning, I have three mongrels running, two give the error, one
2006 Apr 13
7
Whats the best way to achieve this?
employees HABTM projects, projects HABTM employees.
I am doing a permissions page for a selected project. I know that I can
get all of the employees in the system (@employee.find(:all)) or get all
the employees for the selected project.
What i''m trying to do is get a list of all the employees in the system
and have a check box that states if they are associated with the
current
2006 Apr 25
16
case statements in views...strange error on OSX
I have a simple case statement in one of my views. This works fine on my
windows machine. Move to the mac and I get: "parse error, unexpected
tIDENTIFIER, expecting kWHEN".
I have not changed anything but cannot resolve the issue. my view has
this in it (simplified for test)
<% case controller.controller_name -%>
<% when "accounts" -%>
<h3>worked
2006 Mar 24
3
generating a controller that inherits from a base controller
how can I generate a new controller that inherites from another bas
controller?
using: ruby/script generate myNewController command?
--
Posted via http://www.ruby-forum.com/.
2006 Apr 13
3
Why won''t this work - simple helper text ??
Trying to print this out and it fails,
def cancel_toggle(element)
''<a href="#" onclick="new Effect.toggle("'' + element + ''","blind",
{duration: 0.4}); return false;" >Add a New Client</a>''
end
When called in my view like this:
<%= cancel_toggle "newClient" %>
It gets written to the browser
2006 Feb 19
3
accounts and subdomains
With reference to a previous
post:http://www.ruby-forum.com/topic/55201#new
I would like my app to function as follows:
A new user signs up for my application, his username is "andy". When
andy now logs in to the application the url is redirected to :
http://andy.myapplication.com
Questions:
Is this possible to develop on a windows box with webrick?
Do I need anything special like
2006 Mar 24
3
Changing sidebar in layout per controller
I am currently using 2 layouts in my site. One is for the admin area. I
am trying to get content in my sidebar to change depending upon the
current controller.
Example:
Within admin I have a users controller and a articles controller. When
in the users view I want the sidebar to display options (like add user
delete user etc).
What is the best actionview way to do this. I don''t
2006 Apr 03
4
page.visual_effect :highlight not working
I just upgraded Ruby to 1.8.4 and Rails to 1.1 and I''m in the middle of
changing my Javascript code over to the Scriptaculous helper functions.
page.visual_effect :highlight, "some_div" seems to be broken. Instead
of fading, the background color of the element stays highlighted.
page.visual_effect works for other effects, though. Any ideas?
Thanks.
--
Posted via
2006 Feb 08
3
ungenerate / remove scaffold command?
I have seen this somewhere and can''t find it now. Is there an ungenerate
or remove command for the scaffold generator. It would be easier than
removing all the files by hand.
I have tried ./script/ungenerate but no luck.
Thanks
--
Posted via http://www.ruby-forum.com/.
2006 Apr 06
2
rails 1.1 - console broken
Have upgraded to rails 1.1 and now ruby script/console does not work.
Throws an error:
c:\work\development\rails\application1>ruby script/console
Loading development environment.
c:/tools/ruby/lib/ruby/1.8/irb/init.rb:151:in `parse_opts'': undefined
method `up
case'' for nil:NilClass (NoMethodError)
from c:/tools/ruby/lib/ruby/1.8/irb/init.rb:19:in `setup''
2006 Mar 29
3
partial variable help
Can''t work this out:
In list.rhtml:
<% for employee in @employees -%>
<%= render(:partial => "list_form", :object => employee) %>
<% end -%>
In _list_form.rhtml (partial):
<%= employee.id %>
In controller:
@employees = Employee.find(:all)
I get the following error:
undefined local variable or method `employee''
I everything is correct
2018 Aug 02
3
Default compression level for -compress-debug-info=zlib?
Not really, as well as some sensitivity to the input data overall
performance of the link with compression will depend on how this is
implemented in lld - how is it parallelized? How is it chunked? Is it
effectively pipelined with IO?
Or, I wouldn't feel comfortable being able to make a recommendation to our
end-users on whether to use this option or not based on my existing
extensive
2006 Apr 25
4
Newbie - Grouping of items...
I''m trying to build a dashboard type page (similar in function to
basecamp''s) where I can show the last 5 updated items from my 3
differing models, then grouped together by project.
Solution ideas:
(1) Is it best to create a log model where everytime I add or update
another model (like messages, comments, lists etc) an enrty gets added
to the log along with the project. I
2006 Feb 21
11
helper for models?
Is there such a thing?
I have some duplicate methods in my models, can I place them somewhere
and call them in to my models, thus keeping DRY?
--
Posted via http://www.ruby-forum.com/.
2006 Feb 20
6
LoginGenerator - multiple user types...
I have been looking at the LoginGenerator gem. Looks great and can be
easily modified. However in my app I have two places where people can
login, one is for in my case "employees" the other is for "users". They
are seperate tables in my database and have many different fields.
I have an admin area located at ./sysadmin/ where only "employees" can
login, they
2006 Apr 28
3
Handling errors - incorrect value entered in url...
I have many "edit" actions in my project. If the url is like
http://localhost/project/3/edit and someone enters
http://localhost/project/3333333/edit the edit action will fails because
it cannot find a project with id of 3333333.
To combat this I am adding to every action like edit:
rescue
redirect_to :action => ''index''
flash[''errors''] =