similar to: Rails 1.2?

Displaying 20 results from an estimated 20000 matches similar to: "Rails 1.2?"

2006 Jul 02
2
Fixtures Problem
I''m having a problem configuring fixtures -- for some reason, when I run my unit test, I''m not getting any of the instance variables that are advertised in "Agile Web Development with Rails". I''ve gone through various Wikis and Google, and it seems like I''m the only person with this problem. There is no error message per se, but when I try to use the
2006 Dec 11
2
Does mongrel look at the Rails page cache?
Hi all. I''m trying to skip the Rails page cache if the user is logged in: --- # Rewrite index to check for static RewriteCond %{HTTP_COOKIE} !^.*logged_in=yes.*$ RewriteRule ^/$ /index.html [QSA] # Rewrite to check for Rails cached page RewriteCond %{HTTP_COOKIE} !^.*logged_in=yes.*$ RewriteRule ^([^.]+)$ $1.html [QSA] # Redirect all non-static requests to cluster RewriteCond
2008 Jan 10
14
Keeping Camping going
Hello all, I''m not sure who Camping''s steward is at this point(zimbatm? _why?), but I haven''t seen much activity in quite some time. I really like Camping, and I understand open source projects can fall by the wayside. So, I''d be willing to take over maintenance and releasing. I have experience maintaining my own open source projects, and a history of
2007 Dec 22
8
Rails 2.0 scaffold
Hey guys, I posted the other day about scaffold not working and i was told that it was rails 2.0 doing this. (btw i''m using adgile web development) I have read on the internet that you need to put extra stuff like title, description...... So i did this: C:\ruby\depot>ruby script\generate scaffold Product Admin id:int title:varchar(1 00) description:text image_url:varchar(200)
2006 Jun 03
2
Two Announcements - Beta Book and a Rails magazine!
Two announcements, so I''ll split this post into two pieces: MR. NEIGHBORLY''S RUBY AND RAILS NOW IN BETA ========================================= My Ruby on Rails book is now in beta. You can roll on over to the website for more information and pricing: http://www.rubyonrailsbook.com/ Here''s a rundown: Beta eBook is available now, print hopefully in July sometime.
2006 Dec 11
1
Using Rails Plugins with Camping
I just picked up Camping and I''m currently reviewing every little tidbit of information I can find out about it. I really liked the simplicity of RubyOnRails, but sometimes you want something fast and everything is relative. After looking at Camping, RubyOnRails seems like a lot of work if you just want to test out a prototype of a small web app. One thing I do miss are all the
2008 Apr 03
3
Branchable migrations -- A plugin to let you organize your migrations
I just put a new plugin named branchable_migrations on Github. Branchable migrations lets you separate your migrations into "branches" (i.e., a director under db/migrate) that each have their own version. Using the forthcoming UTC timestamped migrations and this plugin, you can separate migrations by table or feature. Doing so should alleviate many of the problems that seem to pike up
2006 Jul 07
7
Sequencing control with edit method in CRUD examples
I have been playing with the cookbook type of tutorials building a fish tournament scoring piece and am having a bit of a problem with a DB field called "points" in my "catch" table that is not input by the user but is calulated based on a "size" field that is input by the user. I have the following in my catch_controller.db def new @catch = Catch.new @fish =
2008 May 22
4
how to find out autoincrement id ?
Hi I need to push newly created item id to file. (ie. its autoincrement value) I tried this on controller but it wont work, it cant find id value for the newly created item. def create @imitem = Imitem.new(params[:imitem]) system "echo \"@imitem.id\" > /tmp/myid" any help ? --~--~---------~--~----~------------~-------~--~----~ You received this message because you
2011 Feb 05
2
print(...,digits=2) behavior
A bug was recently posted to the R bug database (which probably would better have been posted as a query here) as to why this happens: > print(7.921,digits=2) [1] 8 > print(7.92,digits=2) [1] 7.9 Two things I *haven't* done to help make sense of this for myself are (1) writing out the binary representations to see if something obvious pops out about why this would be a breakpoint and
2011 Feb 05
2
print(...,digits=2) behavior
A bug was recently posted to the R bug database (which probably would better have been posted as a query here) as to why this happens: > print(7.921,digits=2) [1] 8 > print(7.92,digits=2) [1] 7.9 Two things I *haven't* done to help make sense of this for myself are (1) writing out the binary representations to see if something obvious pops out about why this would be a breakpoint and
2008 Feb 03
4
Extract vowels and consonants using Ruby Regex
Hello, I am trying to build a regex to extract vowels and consonants from a string. So far, I am able to extract the basic a-e-i-o-u sequence using the following extension to the String class: class String def vowels scan(/[aeiou]/i) end def consonants scan(/[^aeiou]/i) end end examples: >> "Mary had a little lamb".vowels => aaaiea >> "Mary had a
2007 Dec 31
2
point release?
Hello Esteemed Tent-pitchers, Can we get a point release of the current camping trunk? 1.5.1 maybe? I don''t know how stable trunk is, but there are lots of bugs that would be nice to get resolved. Particularly the ones involving the incorrect creation of the sessions table. Evan -- Evan Weaver Cloudburst, LLC
2008 Jan 09
1
SIP Client in Rails App
Hey, do you think it could be possible to integrate a SIP or IAX client into a Rails app to use it for VoIP calls directly from the web page by clicking a link without having to download a 3rd party client? Is there any other solution than an activeX control to access the microphone? Do you have made experience with a free minimalistic applet or activeX control? Greets -- Posted via
2009 Jul 10
1
Lagged Extension
Hi There I have an extension which is in a different country and is constantly lagged (about 800ms). When anyone tries to call this extension we get a No route to destination message. Now I would have thought that the server should be able to find a route to the destination seeing as the peer poke finds it's way there. Or is that lag too much to create a SIP channel? Thanks in advance
2007 Aug 19
16
Possible memory leak problem...
I''m trying to figure out a possible memory leak problem I have in my application. I''ve tested both with mongrel and webrick and the problem remains. So I think it''s not a mongrel problem, but I''m posting here to see if anybody can help me. The RAILS application is quite simple, no special plugins ( no RMagick that has the memory problem ),
2006 Mar 24
1
Isolating a Rails app?
I''m trying to isolate some Rails apps I will be running on a shared server; by isolate I mean I want the application to be unable to access any of the filesystem below its root. These apps are from a few different people and I don''t want them to accidentally (or purposefully) blow someone else''s files away. I would just create a unique user for all of them, but I
2019 Nov 26
1
Accessing the -a and -d from dovecot-lda
I've got exim set up to deliver like this: command = /usr/local/libexec/dovecot/dovecot-lda -a $original_local_part@$original_domain -d $local_part@$domain -f $sender_address If an email to is bob+sales at ish.com.au then we should have "-a bob+sales at subdomain.ish.com.au -d bob at ish.com.au". Now in dovecot, only bob at ish.com.au is a real user but I want to be able to
2006 Jul 15
8
Urgent! -- need suggestion
hi all, I am starting to learn ruby and using ruby on rails. I have one question. I want to create a webpage that has two sections. The right section has all the tags (stored in a MySQL table) and in the section I display websites related to selected tag. I am not sure how to do this as I have two different actions to be fired in every webpage. Any suggestion is most welcomed Regards,
2009 Apr 24
11
We're sorry, but something went wrong.
Great. I''m in the development environment and that is the error message I get?! What good does that do me? I''m trying to follow along with the examples in AWDWR(3rd.), and I have this method in a store controller: private def find_cart Cart.new end That works fine, except that every request(initiated by clicking on an ''add to cart'' button) will