hi everyone i wanna use in_place_editor_field i've installed the Plug-
in and when i'm trying to use it.
<%= in_place_editor_field :subject, :credit_hour %> i have added this
line in view part and in_place_edit_for :subject, :credit_hour line
in controller. Here :subject is model name and :credit_
did not quite look into it.
But i strongly suspect this
"(0.2ms) SELECT 1 FROM "scripts" WHERE "scripts"."startp" = 0.0 LIMIT
1"
This will return true/1 in any condition.
--
rubyonrailsx
Sent with Sparrow (http://www.sparrowmailapp.com/?sig)
On Friday, March 16, 2012 at 1:40 PM, Soichi
Thank you for your response.
On Thursday, March 15, 2012 3:59:29 PM UTC+5:30, Jacob Hume wrote:
>
> Hi!
>
> I have two models questions and questionresponses, which is dependent on
> questions. I am not sure whether to use questionsrespones or
> question_responses, for example, in the build stat
Looking at the log...
The first one is successful in creating the first Script, the second
one is not.
SQL is not working for the second but certainly after_save method is
called..('first script action HERE!!' is logger.info).
Does it help?
soichi
Started POST "/videos" for 127.0.0.1 at
Do know why fresh created video can create script but following video does not.
What i am 100% sure is that after_save is not right place to put this logic.
Cause any object's update will invoke after save, so new script will created
every update.
--
rubyonrailsx
Sent with Sparrow (http://www.
Rails 3.1.3
Related to my old thread
http://www.ruby-forum.com/topic/3802905#new
video.rb has
after_save :create_first_script
private
def create_first_script
@script = Script.new(:video_id => self.id, :startp => 0, :text =>
'ToDo: ')
@script.save
end
The problem is that after
Oops my apologies Craig. Will do
On Thu, Mar 15, 2012 at 3:09 PM, Craig White wrote:
> Hey Kisha... track the messages more closely. I was not the OP and rather
> was suggesting a solution to the OP.
>
> Craig
>
> On Mar 14, 2012, at 5:11 PM, Kisha M Richardson wrote:
>
> > Hey Craig,
> >
> > I'
You:
* Programmer
* Loves to code - Creating and building stuff excites you
* Knows OO Uncle Bob's SOLID, you also understand the principles of
design patterns rather than knowing rubber stamped templates
* Appreciate elegance, to include Kent Beck's rules of simple design
* Works efficiently and
Sorry if I am being a true noob, but I am very confused about what
environment I should be using to learn RoR. I would like to eventually
build something to deploy on google appengine. But am really just
wanting at this point to learn Rails. But it seems that as I fumble
about and try various tutor
To take a step back, I'd say tell 'em what you know and what you don't
know. If they need someone who's really got a lot of experience
specifically with redis and resque, that's not you and it wouldn't be a
good fit for you or them. If they need someone who understands the
conceptual issues at play
Hey Kisha... track the messages more closely. I was not the OP and rather was
suggesting a solution to the OP.
Craig
On Mar 14, 2012, at 5:11 PM, Kisha M Richardson wrote:
> Hey Craig,
>
> I'm also new to Ruby on Rails.
> This link was SUPER helpful --- It will walk you through the set-up
>
On 15 March 2012 10:29, Jacob Hume wrote:
> Hi!
>
> I have two models questions and questionresponses, which is dependent on
> questions. I am not sure whether to use questionsrespones or
> question_responses, for example, in the build statement in the controller:
The models should probably be Qu
On Thursday, March 15, 2012 3:46:55 PM UTC-3, Evandro wrote:
>
> Nunca tive contato antes com Ruby on Rails. Temos um servidor aqui no
> serviço que foi configurado para receber aplicações Ruby. Na máquina
> local, o site estava funcionando perfeitamente. Agora existe este
> erro: http://planari
On Mar 15, 2012, at 12:19 PM, Yaw Boakye elGran wrote:
> Most Ruby programmers come from Java(?)
Not my experience, but certainly Ruby is a peer language to Java, so if you can
hack one, you can possibly learn the other. I know some developers who learned
Java in college, and are using Ruby n
On Mar 15, 3:42 pm, John Merlino wrote:
> And thats when it gives me wrong date.
>
> My environment is already set to UTC:
>
> config.time_zone = 'UTC'
>
> thanks for response
That's why the answer was march 14th. You say that the date was march
13th 2012, but in the timezone you were doing yo
https://github.com/NV/chrome-devtools-autosave doesn’t play nice with Asset
Pipeline. https://github.com/NV/chrome-devtools-autosave/issues/27
The culprit of the problem is in the asset’s URLs. I cannot decipher a file
path by its URL. For instance, /assets/main.css?body=1 could be either
app/a
Can any body tell me how to customize the view pages in the
application of omniauth .Also the contents of the various view pages.
--
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@google
Hi!
I have two models questions and questionresponses, which is dependent on
questions. I am not sure whether to use questionsrespones or
question_responses, for example, in the build statement in the controller:
@questionresponse =
> @question.question_responses.build(params[:questionresponse
Nunca tive contato antes com Ruby on Rails. Temos um servidor aqui no
serviço que foi configurado para receber aplicações Ruby. Na máquina
local, o site estava funcionando perfeitamente. Agora existe este
erro: http://planarias.each.usp.br/. Alguém já teve alguma experiência
com esse tipo de erro e
I completely agree with everything. ROR is Ruby so that's
basic. Most Ruby programmers come from Java(?) so perhaps
the common practice to show how something done in Ruby
can be done in Java too.
Java is not necessary for ROR, just Ruby :)
--
You received this message because you are subscribed
I'm not familiar with dhtmlx, but you can send_data the html table to an
.xls file with the excel mime-type and Excel will read it in - formatting
should stay intact - although I don't know what limitations on formatting
may exist. Works with UTF-8 characters, too. OpenOffice will grok it -
other s
"Mac thinks it's an xml file." -> Does the file end up with an .xml
extension in your Downloads dir? and/or when you try to open it some
program registered to .xml extension opens it or what?
Which browser and what do you see in the Response headers? All browsers do
the same thing?
--
Chris
htt
On 15 March 2012 16:27, Groovor C. wrote:
> I have ajax based micropost's comments on the user page. It works, but
> not correctly. When I submit a new comment to ANY micropost, it always
> posts to the LAST micropost! Then, if I refresh the page by "F5",
> everything falls into place - the new co
On 15 March 2012 15:42, John Merlino wrote:
> There wont be a specific timezone, people will use it in all timezones
> and so I would need it to work for everyone.
You are missing the point, unfortunately you seem to have broken the
thread and lost your original example, but the calculation
110.y
I have ajax based micropost's comments on the user page. It works, but
not correctly. When I submit a new comment to ANY micropost, it always
posts to the LAST micropost! Then, if I refresh the page by "F5",
everything falls into place - the new comment is in the correct
micropost. What I'm doing w
thanks a lot guys
i have installed
ruby 1.9.3p125 (2012-02-16) [i386-mingw32]
rails 3.2.2
I feel at home with you all guiding me
thanks
Rai
On Thu, Mar 15, 2012 at 8:31 AM, Ralph Shnelvar wrote:
> **
>
> Rai,
>
> People have given you good advice. Let me give me give you a little more
> adv
There wont be a specific timezone, people will use it in all timezones
and so I would need it to work for everyone.
This issue started for me when I had this:
validates_inclusion_of :date_of_birth, :in =>
110.years.ago.to_datetime..60.years.ago.to_datetime, :message
=> :invalid_age, :allow_nil
where I said
>> If I look in the older Rails 3 book that covers
>> Rails 2.0, it mentions DRb as a viable background task solution.
I meant to say:
If I look in the older Rails Way book that covers
Rails 2.0, it mentions DRb as a viable background task solution.
--
You received this messag
Hi all,
I try to implement Rails Engine,
but i get following error
/home/kingston/.rvm/gems/ruby-1.9.3-p0@rails-3.1.3-demo/gems/
railties-3.1.3/lib/rails/plugin.rb:87:in `block in ':
"Sub-Engine" is a Railtie/Engine and cannot be installed as a plugin
(RuntimeError)
from /home/kingston/
I have worked at a couple of places where I had a job system
connected to a web portal. The job system used a couple of daemons
that I wrote that connected to the database with active record and ran
various commands in parallel. I had a few Thread.new calls an so on.
At one time I had used back
Hi,
Please explain the steps for implement Rails Engine.
I am using Rails 3.1 and Ruby 1.9.3.
Please help me...
Thanks,
kingston.s
--
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@
On 15 March 2012 12:43, Mohamad El-Husseini wrote:
> @Peter, good point, although I don't think it's so bad to write your own
> basic authentication then add something like OmniAuth if you require other
> authentication methods.
Writing your own is a good thing to do, you get to learn about the
s
The 14/03/12, tydeas wrote:
> Hello there,
> I am new to the rails framework. I have seen that rails uses the
> "Convention over configuration" philosophy.
> Then when I create a controller "post_controller" I have to actually
> configure it in the routes.rb file to get it working. Is this the
> ot
@Colin, not a bad idea, although I don't think I'm at the "write your own
gem" level yet. Probably in a month or two.
@Peter, good point, although I don't think it's so bad to write your own
basic authentication then add something like OmniAuth if you require other
authentication methods.
On W
I have 2 boards on Quora that contain some useful links:
http://www.quora.com/Martin-Wawrusch/REST-API-Implementer-Resources
http://www.quora.com/Martin-Wawrusch/Oauth-2-Resources-For-Provider-Implementers
You might also want to consider looking into this interactive book project:
http://designi
You should checkout Edge Rails. edgeguides.rubyonrails.org/
api_app.html has some interesting information.
On Mar 12, 10:58 am, Shi Yan wrote:
> hi,everyone.
> now i start to design a api.
> the url like thishttp://localhost:3000/api?seckey=123&&post_id=1
> the visitor need a seckey to access aut
On 15 March 2012 03:57, Mahes karthick wrote:
> I had developed one web application using scaffold...Application
> consists one controller(BOOKS). In BOOK controller 7 action are
> presented(new,create,show,edit,destroy,list,index)..correspondingly in
> views under BOOKS folder 4 rhtml files prese
This is really a JRuby opportunity isn't it, the familiarity with
maven was a bit of a give away.
Are you willing to take normal Rails developers?
Does prior JRuby experience improve your chances?
When you talk about threads are you talking the normal Ruby threads or
threads within the JVM?
Does J
38 matches
Mail list logo