Daniel X Moore wrote:
> I had the same problem, but restarting script/server fixed it.
same to me
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send email to rubyonrails
To add, in relation to a GET request, there is a limit of number of
characters that a url can be made of.
http://stackoverflow.com/questions/1496080/limitation-of-url
Cheers
Gordon Yeong :)
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group
GET
- typically used when you access a page via a link (ie you cut and
paste into the web browser)
- all the values (ie form arguments) get passed in the url itself
( delimited by the ampersand character)
- example: when the following link is copied and pasted to the web
browser, a GET request is g
DO you guys see Ruby and Ruby on Rails sticking around for a while? and
do you see an increase in demand for ruby/ruby on rails developers?
Regards
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group
C=create=post=insert
R=read=get=select
U=update=put=update
D=delete=delete=delete
POST & GET are part of the http standard. Check out the fielding
dissertation they're two of I think 9 methods
http://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol
http://www.ics.uci.edu/~fielding/pubs/dissertati
HEY Guys,
Im new to rails. Can someone help explain POST and GET inrails, and
maybe give an example? When is it used? Im learning rails via Agile web
Development with Rails, and soon to download peepcode video's, are these
good resources to learn from?
Regards
--
Posted via http://www.ruby-forum
Since people reading this forum via Google Group or other feeds don't
get the private message link (available on the ruby-forum.com site), you
can contact us at
robert.poor [atsign] bluedot [dot] com
[...and I've probably violated several forum rules of etiquette by
re-posting this amended
I tested using non-ajax call,but the problem was same,the exception was
not handled like the attachment and new_variant template was not
rendered as expected.The render should not be used in the rescue block?
can you help me?
--
Posted via http://www.ruby-forum.com/.
--
You received this mess
I hava solved this problem, use the fellow method:
sudo ln -s /usr/local/sqlite-3.3.5/lib/libsqlite3.so.0 libsqlite3.so.0
then it works fine~
thanks everybody~
--
View this message in context:
http://old.nabble.com/question-about-sqlite3-ruby-on-linux-tp29317264p29321639.html
Sent from t
[Forgive the repost, but readers have pointed out that readers receiving
this forum via Google Groups can't see the private message link. Fixed
here...]
Our startup is about to leave the hushed darkness of the lab and step
into the light by launching a web-based application. Our team has
written
Thank you!
I will post to the rubygems gorup. But, if you might have time to
explain me which specification exactly should be set, I would be very
glad for your help! What I understand from what you've said is the
"s.platform = Gem::Platform::RUBY" specification. If, so, this is
exactly what I did
I cannot reach you. If you want to chat, you can ping me, since my
Jabber ID is associated with this message.
On Jul 29, 4:44 pm, Matt Jones wrote:
> On Jul 27, 8:22 pm, Fearless Fool wrote:
>
>
>
>
>
> > Craig White wrote:
> > > On Wed, 2010-07-28 at 01:27 +0200, Fearless Fool wrote:
>
> > >>
Fidel,
Thanks for your reply. I am using Linux Mint. does that sound
right? I dont know how to look up what linux distribution I have
installed. Also I typed in sqlite3 in my terminal and i got back
SQLite version 3.6.16. How do I install sqlite3 development
libraries?
On Aug 1, 5:03 pm, Fide
Hi Rich,
It would help if you told us which Linux distribution you are using.
But in order to use Sqlite with Ruby on Rails, you need version Sqlite
3. You should also install the Sqlite3 development libraries for your
Linux distribution. You shouldn't also forget to install the
development tools
>
> That's why your redirect doesn't work - the redirect just redirects
> the request made by the JavaScript (rjs has a page.redirect_to thing
> that will produce the JavaScript required to point the browser window
> at a new location. If you are going to do a full page refresh though,
> what's t
On Aug 1, 9:09 pm, Jatin Kumar wrote:
> Frederick Cheung wrote:
> > On Aug 1, 7:29 pm, Jatin Kumar
> >
>
> @Fred :-I have been looking over the internet for a solution but never
> got a real answer. Thanks for your help.
> My web app allows the user to run code in the browser window itself, so
On 1 Aug, 23:42, Neil Bye wrote:
> Neil Bye wrote:
>
> >> Is there anything unusual in the view that triggers this?
>
> >> Fred
>
> > This is the problem line from the view:
> > <% remote_form_for :comment, :url=>story_comments_path(@story), :html
> > => { :id => 'comment' } do |form| %>
That
Please disregard this post. I just switched to using rvm, and seems that the
issue auto-corrected.
Also interestingly, my tests sped up, taking less than 30% of the time they
used to take (units used to take 90 seconds, now 23 seconds). Not sure if
this is due to using a slightly higher build numb
Neil Bye wrote:
>
>>
>> Is there anything unusual in the view that triggers this?
>>
>> Fred
>
> This is the problem line from the view:
> <% remote_form_for :comment, :url=>story_comments_path(@story), :html
> => { :id => 'comment' } do |form| %>
><%= form.text_field :body %>
>
I am running windows vista on my lap top. I installed virtual box and
virtual rails on this laptop and it is running linux. I am very new at
learning rails. So far the only thing I have done is create a blog
application by typing in:
mkdir rails_projects
cd rails_projects
rails first_app
so now
I am using the rails ambethia-recaptcha gem
My recaptcha verification fails in production, the same code works
just fine in development. I made sure the public and private keys are
correct and the correct keys load in the production enviornment. My
production server hostname is "server" (this is k
>
> Is there anything unusual in the view that triggers this?
>
> Fred
This is the view:
<%= render :partial => 'sidebar' %>
<%= @story.user.login %>'s story
<%= render :partial => 'friend' %>
Content
<%= @story.body %>
<%= render :partial => 'comment' %>
Make a comment:
<% re
Is there a way I can lodge a ticket?
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send email to rubyonrails-t...@googlegroups.com.
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscr...@googl
Frederick Cheung wrote:
> On Aug 1, 7:29�pm, Jatin Kumar wrote:
>> textfield where he/she can enter the input, and the program continues to
>>
>> In short, how can I get control of stdin, so that whenever the stdin
>> waits for some user input, i get to know that it is waiting for the user
>> inpu
Hi everyone
I've a big problem with sending a mail over ActionMailer::Base (HTML
mail). I deploy my app with capistrano (2.5.9) and use passenger
(2.2.15) / apache as webserver. But sometimes, when a send a mail, it
takes an old template (of an old release of capistrano) and encode the
content not
On Aug 1, 7:29 pm, Jatin Kumar wrote:
> In my rails controller, I am doing the following :
>
> @output = `g++ j.cpp -o "prog" && ./prog`
>
> This gives the output in the @output variable which i can display in my
> view. But the above works only if the j.cpp is correct and doesn't
> expect any u
On Aug 1, 3:37 pm, Neil Bye wrote:
> | 302 Found [http://localhost/stories/5/comments]
>
> What does this bit at the bottom refer to?
That's saying that the response was a 302 and that the url that rails
has just finished processing is http://localhost/stories/5/comments
Is there anything unus
I want to get a set of records in random order. Will
Car.order('newid()') work? Is there a better way to do this? Rails 3.
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, s
Sean wrote:
> Did you get this solved I have similar issue and am stuck
i got past this by installing rake =)
sudo gem install rake
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to th
In my rails controller, I am doing the following :
@output = `g++ j.cpp -o "prog" && ./prog`
This gives the output in the @output variable which i can display in my
view. But the above works only if the j.cpp is correct and doesn't
expect any user input. How can I use the stdin/stderr and stdout
I can't get a multiplatform bundler Gemfile to work in JRuby with a simple
raisl3 app.
See: http://github.com/carlhuda/bundler/issues/issue/502/#comment_336670 for
more details.
The only way to start the rails app in jruby seems to be to comment out the
platform-specific parts for other Ruby
Hi,
I am developping a small Flash app to upload multiple files with a
progress bar in a Rails site.
Rails handles the server side. I have a controller that displays the
view containing the flash, and it also provides a security token to the
flash. The Flash gets it and send it back to the server
All,
Has anyone seen this - I am getting the following deprecation warning when
running my functional tests under rails 2.3.8 (just moved an app from 2.3.4
up to 2.3.8 in prep to move to Rails 3 --- if you think this problem is
solved in Rails 3 then let me know):
The {{key}} interpolation syntax
Is someone aware that the rails complete api doc has broken links?
http://api.rubyonrails.org/
if I click on actionpack/readme (top right) then off the main page I
click 'learn more' for 'Helpers for forms, dates, action links, and
text' I get a broke link, there are others
I assume this is
I did search the list, and I found people have similar problems with Ruby
1.9.1, but not directly comparable to my issue.
In my simple case it DOES work, as long as I use two controller actions
instead of just the one...
Meanwhile.. yes, do do stick to Ruby 1.8.7 until I know more :o)
Best regard
| 302 Found [http://localhost/stories/5/comments]
What does this bit at the bottom refer to?
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send email to rubyonrails-t..
hi
can you help me?
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send email to rubyonrails-t...@googlegroups.com.
To unsubscribe from this group, send email to
rubyo
Frederick Cheung wrote:
> On Jul 31, 5:03�pm, Manu Lorenzo wrote:
>> def try_to_login(user, options = {})
>> � � user_hash = {:screen_name => user.screen_name, :password =>
>> user.password}
>> � � user_hash.merge!(options)
>> � � post :login, :user => :user_hash
>
> You meant to write :user => u
I was developing in windows for a long time but it had many constrains
and problems. The best advice is of Michael Pavling, to use a machine
similar to the server that you will do the deployment. I can't give up
windows so I installed a ubuntu 10.04 server edition in a virtual
machine and it is wor
Really hoping this is a bug not a new policy
I can see why "new" might want to be a reserved word in some way
But in this case, I really do need rails to map the "new" path so it
allows creating sub member items
EG:
/section/1/new/
is so much cleaner compared to
/section/new/?parent=1
--
hi
book and page is one_to_many relationship.I want to create them in a
single form.But when clicking create button,the submitted params for
pages are not grouped correctly,
i want
"book"=>{"new_pages"=>[{"name"=>"", "color"=>""},
{"name"=>"","color"=>""}]
but it is
"book"=>{"new_pages"=>[{"name
On 1 August 2010 11:32, Dis Tec wrote:
> I'm returning a value from the db which is true/false and I'd like to
> convert that to something more meaningful - how can I incorporate an if
> then into the inline html?
You can use conditional checking inline, with "normal" 'if...else' blocks:
<% i
question re authlogic, all set up but now i'd ike to control access to a
resource so only users who own that resource can control it, I figure I
put this in the Advert controller - is this approach sound ?
http://pastie.org/1069488
I also specify that an admin (just a boolean controlled user) can
I'm returning a value from the db which is true/false and I'd like to
convert that to something more meaningful - how can I incorporate an if
then into the inline html?
I have tried if ... puts "xxx", but to no avail.
Sorry, I'm a noobie and not quite got my head around this as yet or the
error m
On 1 August 2010 06:16, ncage wrote:
> is a windows machine good enough to get started with ROR Development?
Honestly, without trying to be contentious: no.
You *can* get along getting into Rails using Windows (I started that
way with InstantRails), but you will discover occasional things that
d
Is there a smart way or example for listing terms and conditions and
ensuring that they have been read?
I'm a relative noob to RonR and I'd like to find a good way to do this?
I don't want to store anything in the db, so I just need validation, how
best to do this?
Thanks
--
Posted via http://ww
Hello people. I'm just getting into cutting my teeth in ROR
development. Currently all my machines are Windows 7 machines. I know
most of the hard core ROR in general use Macs. I definitely won't be
able to use a mac. Would you recommending using an ubuntu machine or
is a windows machine good enoug
In beta4 I could do this:
resources :sections do
get :new, :on=>:member
end
But not with RC
If I change "new" to be something else, I can do that
So it seems that "new" is now treated like a reserved word of sorts?
I really need to share the new method between "sections/new" and
"secti
I have created some radio boxes as follows:
<% f.radio_button :usertype, "false" %>False
<% f.radio_button :usertype, "true" %>True
where usertpe is a boolean in the db
I want to be able to create a default selection and I want to validate
the options and ensure that for whatever reason there is
first sorry for my poor english.I have a question about sqlite3-ruby on
linux.
I have compiled and installed the ruby 1.9.1, sqlite3 and sqlite3-ruby on
redhat enterprise version.
but when I use irb and import the sqlite3 module, it will throw the error,
what's the matter.
irb(main):001:0> requi
Hahaha!
Search the list, and you'll notice that people have already fallen into
this trap.
Wait 'til Rails 3 AND Ruby 1.9.2 get released to jump to Rails+Ruby1.9
Stick to Rails 2.3.8 and Ruby 1.8.7 until then.
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you
51 matches
Mail list logo