Displaying 20 results from an estimated 1200 matches similar to: "JBuilder Reload buffers? confusion (any update?) (PR#12876)"
1999 Jan 20
1
JBuilder Reload buffers? confusion (any update?)
Hi,
We've got some Java projects that are being developed on both Unix and
NT and we're struggling with JBuilder 2.0 and its "File has been
externally updated, reload buffers?" messages. Has anyone found a fix?
Is it a bug in JBuilder? i.e should I save my hair and not spend any
more time investigating/trying to fix this problem?
More info:
Our NT machines access files from
2013 Apr 15
4
Rails' scaffold controller generator - should it test json format also?
(Forgive me if this is incorrect, because I recognized this initially as
something in Rails 4.0.0.beta1 and have just done a cursory look over the
latest generator code.)
Noticed in Rails 4 that the test generated for a scaffold controller only
tests the html format instead of both html and json:
2013 Mar 14
0
Display custom links above top level arrays using Jbuilder
I have a custom JSON response in which I display a collection of 15
posts along with related data like comments etc., as part of an API
call. I am displaying the entire collection using Jbuilder .
json.array!(@posts) do |post|
..
..
end
I want to display pagination links above the response of the 15 posts,
in order to get the next set of posts with the appropriate next set of
next page and
2007 Aug 04
10
Need some help with pure Ruby win32-changenotify
Hi all,
I know it''s deprecated, but people seem to still be using
win32-changenotify, so I thought I''d see if I could make it pure Ruby.
Also, I thought it would be a good opportunity to test passing a custom
Win32::Event object.
I''m mostly done I think, but I''m having trouble unraveling the
FILE_NOTIFY_INFORMATION struct buffer. Please check out the
2006 Nov 17
2
[ win32utils-Bugs-6722 ] win32-changenotify fails on Ruby 1.8.4
Bugs item #6722, was opened at 2006-11-17 05:17
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=411&aid=6722&group_id=85
Category: None
Group: None
Status: Open
Resolution: None
Priority: 3
Submitted By: Nobody (None)
Assigned to: Nobody (None)
Summary: win32-changenotify fails on Ruby 1.8.4
Initial Comment:
throws an exception when loading, roughly
2012 Sep 15
10
Versioning of Views; Our Approach
My friend Ben Willis and I have developed a gem for the versioning of Rails
views.
https://github.com/bwillis/versioncake
The versioning is done by the naming convention. Image the following
series of files :
show.v3.json.jbuilder
show.v2.json.jbuilder
show.v1.json.jbuilder
create.v2.json.jbuilder
create.v1.json.jbuilder
The developer pre-defines all view versions in their config. When a
2005 Jan 25
3
Change Journals
Hi,
I''ve released win32-changenotify 0.3.0 today. Take a look.
Park and I have discussed a Ruby interface to change journals a little bit:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/fileio/base/creating_modifying_and_deleting_a_change_journal.asp
Park, would you like to do this, or did you want me to? I wasn''t sure from
your RubyForge post.
Also, do
2005 Jan 20
1
ChangeNotify help wanted
Hi all,
I''ve checked in some code to win32-changenotify. Unfortunately, it
doesn''t work right. I need some help. I don''t understand what,
exactly, I''m supposed to pass to ReadDirectoryChangesW() for the 2nd
argument, nor how to read the data back out.
There''s also a WCHAR issue that needs to be worked out with regards to
the FileName
2004 Sep 21
1
windows program over a samba share
Hi,
I don't know if this is possible, but I'd like to install a window program (in
the specific JBuilder Personal) over a samba share, and then to mount a
network share as a disk from windows clients, so they can use the program. Is
it possible? Any idea on how to share windows programs from a linux server?
Thanks,
Luca
--
Luca Ferrari,
fluca1978@infinito.it
2005 Apr 21
3
win32-changejournal modification
Hi all,
Should we make the same change for win32-changejournal
that we made for win32-changenotify (i.e yield an
array of structs rather than a single struct)?
Any objections?
Dan
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
2012 Sep 18
2
NoMethodError with rake db:migrate
Hi! First of all, this is my first application on Rails, and i''m stuck at a
migration. i created a demo app (the demo_app from michael hartl''s
tutorial) as usual: rails new demo_app, rails generate scaffold User
name:string email:string, and when i do rake db:migrate, this stack appears:
rake db:migrate --trace
** Invoke db:migrate (first_time)
** Invoke environment
1998 Dec 23
0
oplocks and mixed unix/smb file access
Hi,
We've recently upgraded to samba-1.9.18p10 and I'm a bit worried about
using oplocks on shares that contain CVS repositories. Files are
edited on NT and updates checked into cvs using the NT CVS client
talking to a Unix CVS server.
Is it safe to use oplocks in this case?
If not - should I separate the CVS subtree into a completely separate
share (or sub-share?) or is it possible
2007 Aug 08
12
Some more win32-changenotify analysis
Hi all,
I decided to check the responsiveness of the pure Ruby vs C extension
versions of win32-changenotify. I setup this little file generator program:
a = []
10.times{ |n|
a << Thread.new{
File.open("File_#{n}", ''w''){ |fh| fh.puts "test #{n}" }
}
}
a.each{ |t| t.join }
The pure Ruby version did not do so well. In some cases it
2016 Feb 07
3
[PATCH] strlen -> strnlen optimization
Joerg Sonnenberger wrote:
> On Sat, Feb 06, 2016 at 11:05:14PM -0500, Michael McConville via llvm-dev wrote:
> > This addition converts strlen() calls to strnlen() when the result is
> > compared to a constant. For example, the following:
> >
> > strlen(s) < 5
> >
> > Becomes:
> >
> > strnlen(s, 5) < 5
> >
> > That way, we
2004 May 07
2
New packages?
Hi,
I should have win32-changenotify and win32-semaphore out this weekend at
some point. Then, the next version of win32-file. And after that? I don''t
know.
What do you think we should tackle next? What interests you? Different
mutex flavors? IE controllers? Exchange interfaces? I think we should
probably look a little more at what Python has going forward, too.
Just a
2005 Jan 06
0
Some thoughts on win32-changenotify
Hi all,
As things stand now, you can do something like this with
win32-changenotify:
require "win32/changenotify"
include Win32
filter = ChangeNotify::FILE_NAME | ChangeNotify::DIR_NAME |
ChangeNotify::LAST_WRITE
cn = ChangeNotify.new("c:\\",false,filter){
puts "Something changed"
}
cn.wait
You can pass a block that''s executed when a change occurs, but
2007 Aug 06
0
win32-changenotify and events
Hi all,
I''ve made some changes to the way that events are handled in
win32-changenotify, and I wanted to verify that they were both
appropriate and sensical.
First, win32-changenotify now requires win32-event. In the constructor,
if an event isn''t explicitly passed, a new Win32::Event object is
created (instead of calling CreateEvent directly).
Then, in the
2006 Dec 21
0
Curious win32-changenotify behavior - numbers instead of names
Hi all,
Ruby 1.8.5
win32-ipc 0.4.2 (or 0.5.0 in cvs)
win32-changenotify 0.4.2
I noticed something strange tonight while tinkering with
win32-changenotify. Here''s my sample script:
# cntest.rb
require ''win32/changenotify''
include Win32
path = "C:\\test"
filter = ChangeNotify::FILE_NAME | ChangeNotify::DIR_NAME
cn = ChangeNotify.new(path, true, filter)
2014 Apr 14
0
Foundation & Authlogic
Seems I can get either Foundation or Authlogic to work but not both -
After bundle install when I do a rails g foundation:install I get the
following:
C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/activerecord-4.1.0/lib/acti
ve_record/dynamic_matchers.rb:26:in `method_missing': undefined local
variable o
r method `inheritable_attributes' for ActiveRecord::Base:Class
(NameError)
2004 Dec 18
0
Still the big Icecast problem!
Easy... when I made this java applet :
http://rbg.online.stalig.net/jplayer/radio-bro-gwened.html
I used a signed lib from jorbis without modifying it. I just made a
subclass of JOrbisPlayer which change the behaviour for what I wanted.
I can provide my wall JBuilder project for those interested to use it.
Easy way:
- just change the html file to feed it with your ogg stream url
- do what you