Displaying 20 results from an estimated 2000 matches similar to: "Distribute Rails app. without source code"
2006 Mar 21
8
Redirect without port number?
On my host I run my lighttpd instance bound to a specific port and my
hostname is mapped to this port (I''m not exactly sure how this is
accomplished, but it is lighttpd also listening on port 80 which handles
this for me I believe).
A redirect from rails includes my local port number in the request, so that
it shows up in the address bar. I prefer people not to see this - I
2006 Apr 01
3
Syncpeople Plugin Scope Never Active
I installed the Syncpeople textmate bundle (
http://syncpeople.com/downloads/syncpeople_on_rails_features ) and the
commands all work from the menu, but the short-cuts never work for any
of the snippets or commands ever work, because the scopes are not
being selected properly. If I change the scope to just "source.ruby"
it will work fine. But I cannot see why their scope selectors do not
2006 Mar 20
8
Best way to organize non-controller logic???
I don''t want to put certain code in my controller because I think it
makes things more confusing.
What is the best way to manage business logic such that it doesn''t end
up in the controller?
Basically, where should I put my regular utility classes and backing
objects that may not be models?
Thanks,
Wes
--
Posted via http://www.ruby-forum.com/.
2006 Mar 27
5
Fixtures, Postgres & Constraints
Anyone have any tips for handling postgres constraints when using
fixtures to load the database, other than to sort out the proper
insertion orders or leaving the constraints out? I''d prefer not to do
the former since I''d rather use my app to generate my fixture data
(using a dump_fixtures task) and I''d prefer not to do the latter
because leaving out constraints till the
2006 Mar 21
8
AS/400?
Any success stories using rails against a DB2 database on an as400?
If so, how?
Thanks
Ed Schechter
--
Posted via http://www.ruby-forum.com/.
2006 May 05
1
Configuration Generator
Where is this ConfigurationGenerator that is posted in the Rails wiki
(http://wiki.rubyonrails.com/rails/pages/ConfigurationGenerator)?
I''ve been searching around and I can?t find a way to use it.
Jes?s.-
--
Posted via http://www.ruby-forum.com/.
2006 May 04
2
Building a FAQ
I''m new in Rails, and I''m building my first application. I''m trying to make
a FAQ for this application, organized by product (questions about each
product) and category (questions of different categories or topics), and
there is something I can''t figure it out how to do.
I have these tables:
create_table "faqs" do |t|
t.column "question",
2006 Mar 25
12
Newbie question about database consistency
I''m a newbie for RoR, and also web dev and database design (but been
doing C++ apps for years). I''m trying to learn to use RoR and mySQL by
doing a toy project. What I''m trying to do is a web base reservation app
for lab machines. I have a number of machines, each can be reserved on
hourly basis. So I set up a the following tables: users, machine,
reservations. The
2006 Apr 01
2
Can i cache models?
Can i cache models that never get changed?
--
_________
Noel R. Morais
2010 Apr 09
9
gem install rails (Errno::ENOENT) No such file or directory
I have two PCs, one with Windows XP and another with Windows Vista. I''m
working as an administrator in both computers. I''m using Ruby 1.8.7 and
Rubygems 1.3.6. When I try to install Rails I get this error:
C:\>gem install rails
ERROR: While executing gem ... (Errno::ENOENT)
No such file or directory - C:/Users/Jesús Dugarte
I have installed Rails several times before
2006 Apr 02
1
One to Many Relationship Issues
Hi,
I am having issues with a one to many relationship(it never works :-)).
Jokes aside, I am getting an error:
Mysql::Error: #23000Cannot add or update a child row: a foreign key
constraint fails: INSERT INTO adverts (`image_url`, `price`, `title`,
`website_url`, `description`, `user_id`) VALUES(''bb'', 22.0, ''aa'',
2006 Mar 19
38
Macbook for Rails Development
Hi All,
I''ve finally got fed up of struggling with Windows and am on the verge
of splashing out on a Macbook for Ruby/Rails development. I''ve seen
DHH''s post about it on loudthinking but I wondered if anyone else has
any more wisdom...
Is it worth it over a powerbook? Any tips on good OSX apps for Rails
dev (textmate, i know already)? Anything not working well on
2006 Mar 28
5
combining two models in one controller/view "set"
I''m going to take another stab at this question (my first one received
no replies):
I have two models:
Author
has_many: books
Book
has_one: author
I have two tables:
authors
id
...
books
id
author_id
...
I let the scaffolding fly and it created the CRUD goodness for each
model, as expected.
However, I want to have only one view/controller "set" for both
models; when I
2009 Aug 16
1
VQ and Huffman codebooks creation
Hello,
I'd like to know in detail how does the creation of VQ and Huffman codebooks
work in Vorbis. I've used the source code from *encoder_example* as guide,
but the only reference I've found is the function *_make_words *inside *
vorbis_book_init_encode*, which creates the Huffman tree if I'm not wrong.
So I have two doubts. The first is that, for creating the Huffman tree (and
2004 Dec 28
3
"No disk in drive" "anti-piracy" message
Hello!
I have just installed a legal copy of a two--disk game using Wine.
The first problem when trying to run the installed game was
"Anti-piracy protection: no CD/DVD drive found". It could be
prevented by mapping CD directly onto the root directory of a new
drive. But then the next message showed: "Anti-piracy protection: No
disk in CD drive" or something like that. The CD
2009 Jun 01
5
A Sims Oddity
http://appdb.winehq.org/objectManager.php?sClass=version&iId=16664
As much as I am leaping for joy at the thought that i'll be able to play the Sims 3 without switching to Mac OS X or Windows, I have a question:
1. How would they know if the game works or not if it doesn't come out till July???
Also, I find it a bit of an oddity that The Sims 3 will work under Wine straight away when
2010 Jan 31
2
sip to dahdi and billsec
Hi,
My costumers are logged in on my Asterisk PBX through XLite Softphone (SIP).
My server is
connected to PSTN. Problem is when SIP phone calls ordinary phone via dahdi
I get
DAHDI/1-1 ANSWERED SIP/number-number and billsec field from cdr is start
counting.
Is it normal behavior ? Can I change that ?
So channel gets in ANSWERED state and billsec starts as soon as line starts
to ring even if no
2011 Jan 07
2
Idea to possibly improve flac?
On 1/7/2011 11:42 PM, J?rgen Vigdal wrote:
> Hi Brian.
>
> I also agree with you on these points you mention. If you guys are familiar on how the piracy groups work on the internet, you are aware that they have "releases" with their names on it. In the piracy "scene", some groups are competing on getting the first release out, and could only be beaten by another group
2004 Sep 11
2
Question about Huffman Tables in Setup Header
There is bit space in Bitstream Header to put Huffman codes in.
However, This space can take only 80 kinds of Huffman code set.
And This space is divded into DC Huffman code set and AC Huffman set,
and There are only 16 choices in each DC and AC Huffman code set.
If we want to use this space, we find out best(or proper) performance
80 frequency counts(Huffman code sets) from tens thousands of
2003 Aug 05
2
question about codebook
Hi, all
I am studying the ogg-vorbis algorithm but I have less knowledge about the
codebook structure of vorbis. After tracing the release source code, I
found it doesn't use huffman tree to decode the huffman code instead of
using a special mapping and pre-look. The memory requirement seems similar
with huffman tree decoding. Could anyone tell me how the vorbis huffman
decoding works