Displaying 20 results from an estimated 400 matches similar to: "how to design a api?"
2012 Mar 27
4
render :js => "window.close();" wont work
when i try to do the following in a action
render :js => "window.close();" wont work
it still response in the browser,but the window wont close.
i dont know why.thx!
--
*愿爱与喜悦心与你同在!
石岩敬上
大连东软信息学院 计算机系软件工程应用方向
Dalian NEUSOFT Institute of Information
中国-大连市软件园路8号
邮编:116023
**Mail:hlcfan.yan-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org*
2014 Feb 23
3
nouveau graphical corruption in 3.13.2
On 9 February 2014 02:57, Ilia Mirkin <imirkin at alum.mit.edu> wrote:
> On Sat, Feb 8, 2014 at 10:38 AM, Daniel J Blueman <daniel at quora.org> wrote:
>> Interestingly, there was graphical failure booting 3.6.11, even
>> nvidia-current fails to initialise, but these two issues could be due
>> to running the Xorg stack in Ubuntu 14.04 pre-release. Using
>>
2012 Mar 27
4
Upload
hello everyone,
i have written an upload controller which handles files in a multipart-
form. it scans through the bytes to check if it''s an acceptable file.
my problem is to get the progress of the upload of a single file. i
loop through my params to move every file to the server and it''s
working properly.
is there a method to check whether a file has been completely
2012 Nov 06
1
[PATCH] nouveau: Fix crash after D3
In 3.7-rc4, when starting X with the integrated GPU and suspending the discrete GPU,
after one or more 32-bit applications are used (eg Skype) and X is stopped,
we hit a panic.
Prevent this by testing if the fini function is valid.
Full panic bootlog is at: http://quora.org/2012/nouveau/dmesg-crash.txt
Xorg.log is at: http://quora.org/2012/nouveau/Xorg.0.log-crash.txt
Kernel log after fix is at:
2012 Oct 26
7
How to use Ajax with rails ?
Hi all,
Can any one tell me how to use Ajax with Rails.
Send me quick start up link and videos.
Thanks
Regards
Fahim Babar PAtel
--
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-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this
2014 Feb 08
2
nouveau graphical corruption in 3.13.2
On 8 February 2014 16:33, Ilia Mirkin <imirkin at alum.mit.edu> wrote:
> On Sat, Feb 8, 2014 at 2:58 AM, Daniel J Blueman <daniel at quora.org> wrote:
>> Hi guys,
>>
>> With a GeForce 320M GPU running linux 3.13.2 and Xorg 1.15.0, I'm
>> seeing significant graphical corruption and later unrecoverable GPU
>> lockup, accompanied by thousands of
2010 Dec 29
5
Beginer: Question about routing on Rails 3
I bought this book about rails for beginers (head first Rails)
and its quite simple and good for someone who has no clue about Rails
(or any other language)
On chapter two it talks about routing
but unfortunately the book is for rails 2 and i have rails 3 installed
on my mac.
The line i have to enter in the config/routes.rb of my application is:
map.connect ''/ads/:id'',
2011 Aug 12
9
What is Ruby on Rails able to do?
Hello Everybody,
I am starting with Rails and I am wandering questions about Rails
possibilities. Actually, I want to design an application that has
particular needs and I would like to know wether Rails can do them. As I
am newbie with Rails, I ask you these questions.
Basically, it is possible to execute shell commands from a rails pages
(eg: I want to launch a c++ program)?
Can it define a
2012 Apr 19
7
install Rails from terminal
I have been having trouble install Rails from the terminal on my new
MacBook. I have tried to find a solution on both google and youtube, but
I have not find a solution to the problem
$ rails -v
Rails is not currently installed on this system. To get the latest
version, simply type:
$ sudo gem install rails
You can then rerun your "rails" command.
$ sudo gem install rails
2011 Apr 14
1
Introducing Quora like Gluster Community Site (beta)
New Gluster Community Platform: http://community.gluster.org
We are pleased to announce a Quora like community platform (beta),
where the focus is on *YOU* and your peers in the Community. We wanted
to provide a platform for all of you to engage with each other and
share everything (ugly, bad and the good) with other community members
and us. We want your questions heard and answers recognized.
2012 Apr 14
2
How to implement sory-by links?
Hello people.
I have an app which lists Offers from different Vendors.
I want to implement "sort by" links and I''ll do this using scopes in my
Offer model. But how should I implement the functionality in the
controllers/router? Should I use a member route along with a new controller
action (eg. "expiring", or "most_expensive") or just use param queries?
2013 Apr 21
5
Where to find info about seed.rb, db:seed functionality?
There is no any mention about it neither in API nor in Guide. How to use
these features? The only gist with two sentences is in db/seed.rb file.
That''s really not enough.
--
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 unsubscribe from this group and stop receiving emails
2011 Sep 24
4
Heroku Slugsize shot up drastically
Hi,
Locally my application is 7MB without tests and logs, etc. The .git
folder is 29 MB. I also have no gems / plugins in vendor folder. 95%
of images sit on S3. However on committing to Heroku it shows ----->
Compiled slug size is 62.7MB
What is wrong? It happened?
To add more context my .gitignore file is .bundle, db/.sqlite3, config/
database.yml, log/.log, tmp/, .idea, .redcar,
2011 Jul 23
6
Rails 3.1 CoffeeScript not working
I convert my old JS files into CoffeeScript, In my public controller I
used this functions
$(''#events a'').lightBox()
$(document).ready ->
$("#slider").easySlider
auto: true,
continuous: true
they load inside application.js like this
(function() {
$(''#events a'').lightBox();
$(document).ready(function() {
2014 Feb 08
2
nouveau graphical corruption in 3.13.2
Hi guys,
With a GeForce 320M GPU running linux 3.13.2 and Xorg 1.15.0, I'm
seeing significant graphical corruption and later unrecoverable GPU
lockup, accompanied by thousands of ILLEGAL_MTHD or related kernel
messages [1]. I see similar issues on 3.12 also.
Is there any debugging or testing I can do to help diagnose this?
Many thanks,
Daniel
--- [1]
http://quora.org/nouveau-dmesg.txt
2011 Aug 23
13
Is OSX Lion a valid choice yet? Any issues?
Hi,
My Snow Leopard just let me down and now it could be a "good" moment to
upgrade to Lion.
But I''m not sure is it an option yet.
I would be using Rails 3.0.9, Ruby 1.9.2 via RVM. Postgresql DB. And
probably some stuff via homebrew. Git, Versions and that type of stuff.
Are the lights red for Lion since it is so fresh?
Any experiences?
Thanks.
--
Posted via
2011 Aug 07
9
How can I disable Rails 3.1's ActiveRecord Query Caching?
Hey guys,
As most of you know, Rails 3.1 introduces query caching for
ActiveRecord. Great change all-in-all, but for those of us with IT
department mandates for using MySQL (yeah, yeah, I know...), it''s kind
of a mixed bag.
I need to disable query caching in a project I''m building based on
3.1. I''ve tried a couple different approaches, both without any
success. I
2011 Aug 03
2
FYI: Heroku Cedar, pg, openssl, omniauth, troubles and a solution
Hi guys,
I found a really nasty issue that affects people running on Heroku''s cedar
stack. We are using Rails 3.1.rc5, pg 11, omniauth 2.6. Ruby is 1.9.2.180p
Basically there is an incompatibility between the http, pg and OpenSSL
modules which segfaults when making https calls, for example to log in
through twitter. Now pg is a required gem when using Heroku cedar stack so
leaving that
2013 May 04
21
Getting started w/ Rails 4
Hi. I''m trying to run Getting started tutorial under Rails 4.0.0.beta1
although it assumes it runs on Rails 3. I was able to get rid of all
errors by wrapping post_params here and there, and installing
protected_attributes Gem for attr_accessible to make sense. Post/
comment CRUD works just fine, but I don''t seem to be able to add Tags
(the final part of the tutorial). Post saved
2011 Jul 05
4
Problem of "rake spec"
Hi all,
I am a bit confused when i type rake spec and it gives me this
message,
No examples matching ./spec/**/*_spec.rb could be found
what is that mean that something is not found.
and where i can input my the test code because i did have a tiny
sample code in user_controller_test.rb.
is that the right place to test functional..
plz give me a help
thanks
--
You received this message