eung a écrit :
>
>
>
> On Wednesday, July 22, 2015 at 10:52:16 AM UTC+1, Julien Brochet wrote:
>>
>> Hello !
>>
>> I've a question regarding Rails and Active Record.
>>
>> I've a class, for instance "Host" witch is populated wit
Hello !
I've a question regarding Rails and Active Record.
I've a class, for instance "Host" witch is populated with data from a
remote API. I call a specific address and create my object. My object has a
specific and unique ID.
I would like to add additional data to this object. This dat
I don't find the link to DL your book for free. Where is it ?
Le mercredi 27 novembre 2013 16:28:30 UTC+1, Daniel Kehoe a écrit :
>
> I’m offering the advance edition of my new book for free.
>
> Here's the link for *Learn Ruby on Rails*:
>
> *
> *http://learn-rails.com/free-book-download.html*
Hi
1- Create 2 models: Student and Mark
2- Add relation between them. belongs_to :student in the Mark model and
has_many :mark in the Student model
3- rake db:create && rake db:migrate
4- Create Controllers
5- Create Views
6- Create Routes
maybe the rails 'generate scaffold Mark Student' coul
Thx ! I'll check it
Le mercredi 23 octobre 2013 18:50:09 UTC+2, tamouse a écrit :
>
>
> On Oct 22, 2013, at 2:40 PM, Julien Itard >
> wrote:
>
> > Hi there,
> > i'm a new RoR developer and i need your feedback about this book :
> http://pragprog.com/b
Hi there,
i'm a new RoR developer and i need your feedback about this book :
http://pragprog.com/book/rails4/agile-web-development-with-rails-4
Is it good for learning Rails ? I mean, i already read Michael Hartl
tutorial. Is it useful to me to buy this book ? Are there other good books
about Ra
Thanks Dheeraj but I don't think this is what im looking for as my app runs on
heroku. I was hoping there would be a gem that solves this problem
--
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 rubyon
the database get dynamically updated in the background in
the background by some external scripts/delayed jobs etc.
How can I get the index view to dynamically update those attributes withought
getting the user to manually refresh the web page?
Merci,
Julien
--
You received this message
Thanks Dheeraj. That works!
On Friday, January 4, 2013 4:05:13 PM UTC-5, Dheeraj Kumar wrote:
>
> current_user holds the current logged in user.
>
> --
> Dheeraj Kumar
>
> On Saturday 5 January 2013 at 2:28 AM, Julien Estebane wrote:
>
> Dear Rails folks,
>
>
Dear Rails folks,
I have a user that has_many items, and an item model that belongs_to user.
In the controller for item, how do i access the current user that is logged
in? it's very easy to access the current logged in user from when in the
user controller/model/view with the @user variable, b
25, 2012 9:25:17 PM UTC-5, Julien Estebane wrote:
>
> Hello,
>
> I am having what I might think is a basic problem...I can't get the
> relationships of has_many and belongs_to mapped out correctly in the
> database. I would expect, according to my MODEL and MIGRATION, t
al'
/home/user/.rvm/gems/ruby-1.9.3-p327/bin/ruby_noexec_wrapper:14:in `'
Tasks: TOP => db:migrate
(See full trace by running task with --trace)
On Wednesday, December 26, 2012 8:27:27 AM UTC-5, Frederick Cheung wrote:
>
>
>
> On Dec 26, 2:25 am, Julien Estebane wro
140", 3=>"2012-12-26
01:27:40.452140"}, {"id"=>2, "description"=>"stopping",
"created_at"=>"2012-12-26 01:27:40.536188", "updated_at"=>"2012-12-26
01:27:40.536188", 0=>2, 1=>"stopping&q
d, it does not work.
This is because Rack misses a "Handler" for Unicorn.
It already has one for Webrick, Thin, Mongrel and others, but not for
Unicorn
I could not find the handler with google and will try the Unicorn ML to
ask
Julien
--
Posted via http://www.ruby-forum.com/.
-
Maybe you can see to it by simply changing the style of your edit div
from "display:none" to "display:block" using a simple javascript
function if you don't like using javascript libraries.
On 16 fév, 14:57, pepe wrote:
> > Lets ignore the 'editable' form part. In general how would I hide/
> >
Hi,
1)Ruby is simple, clean and elegant, you can learn it while learning
rails, it's nearly like speaking english.
2)you can use with Apache (http://www.modrails.com/)
3)i don't know PDO, but there is DB abstraction with Active Record
http://guides.rubyonrails.org/active_record_querying.html, whic
On 7 déc, 21:54, bravehoptoad wrote:
> > Just checking:
> > UTF-8 without BOM: no problems
> > UTF-8 with BOM: problems
> > Right?
>
> Correct.
>
>
>
> > I've never seen this problem on *nix. I wonder if it's an artifact of
> > Windows' text handling routines.
>
> Yes, I strongly suspect, since t
On 6 déc, 20:50, Marnen Laibow-Koser wrote:
> Julien wrote in post #966616:
>
> > On 6 dc, 15:28, Julien wrote:
> >> > On 6 December 2010 11:03, Julien wrote:
> >> > >> > text it's fine.
> >> > >> firefox and you can see wh
On 6 déc, 15:28, Julien wrote:
> On 6 déc, 12:30, Colin Law wrote:
>
>
>
>
>
>
>
>
>
> > On 6 December 2010 11:03, Julien wrote:
>
> > > On 6 déc, 09:53, Colin Law wrote:
> > >> On 5 December 2010 22:44, Julien wrote:
>
> >
On 6 déc, 12:30, Colin Law wrote:
> On 6 December 2010 11:03, Julien wrote:
>
>
>
>
>
>
>
>
>
> > On 6 déc, 09:53, Colin Law wrote:
> >> On 5 December 2010 22:44, Julien wrote:
>
> >> > exact same poltergeist for me on rails 3.0.1
On 6 déc, 09:53, Colin Law wrote:
> On 5 December 2010 22:44, Julien wrote:
>
> > exact same poltergeist for me on rails 3.0.1 and ruby 1.9.2. It adds
> > some visible space in browser but completely invisible in the
> > generated HTML.
>
> > it seems to be when
exact same poltergeist for me on rails 3.0.1 and ruby 1.9.2. It adds
some visible space in browser but completely invisible in the
generated HTML.
it seems to be when the partial starts by a tag (like "").
It's not a space but a linebreak. If partial starts by basic simple
text it's fine.
I checke
On 24 mai, 15:56, Peter De Berdt wrote:
> On 24 May 2010, at 15:16, Julien Cornuwel wrote:
>
> > I've been gooogling around for quite some time now and I didn't find a
> > solution. If I missed it, feel free to RTFM me (with a link,
> > please) ;-)
>
> http
Hi,
I've been gooogling around for quite some time now and I didn't find a
solution. If I missed it, feel free to RTFM me (with a link,
please) ;-)
I want to make two rails apps (on different servers) able to
communicate securely through SSL.
Meaning, when app1 needs data from app2, it connects t
Hi list,
With Rails 3 beta,
activesupport/lib/active_support/core_ext/object/extending.rb is gone, and with
it Object.subclasses_of.
Is there an official replacement for that ? Maybe in Ruby 1.8.7 ?
Cordialement,
Julien Palmas
05 82 95 00 73
06 07 47 85 87
jul...@cruxandco.com
--
You
Hi list,
In Rails logs, at the end of each request, the log states something
like
Completed in 37ms (View: 1, DB: 8)
Is there a simple way to access the "DB: 8" info in the view ?
Thanks
Julien
--
You received this message because you are subscribed to the Google Groups "Ruby
Hi,
I start to use extjs with rails, I begin with this tutorial :
http://www.extjs.com/learn/Tutorial:Using_Ext_Grid_with_Ruby_on_Rails
but the grid with data is not display in the screen,the file
"grid-paging.js" in directory "/public/javascript/", i think that there
is not the good directory fo
Hi Emmek,
I never found anything really convincing to handle that, but facing the
same problem I found some workaround.
So first to get a slug, I use the plugin "ActsAsUrlParam"
http://github.com/caring/acts_as_url_param
I use it on a page "model" that uses a custom acts_as_tree (with dotted
This is too much for my ruby skills level...
Since i can't use multiple tables inheritance, i've been trying to
implement some shared behaviour and state in an AR 'wrapper' model
that delegates method calls to an associated business objects through
a polymorphic association
class CoreEntity < Act
bill walton wrote:
> Hi Julien,
>
> On Thu, 2009-06-11 at 22:51 +0200, Julien J.F. wrote:
>> forgot to add that the game is passing parameters to the JS functions,
>> and i need to figure out a way to get these back to rails too...
>
> Rails is a framework for b
forgot to add that the game is passing parameters to the JS functions,
and i need to figure out a way to get these back to rails too...
--
Posted via http://www.ruby-forum.com/.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Go
thanks for taking the time to answer bill, my post was indeed vague i
must reckon, i'll try to clear things up.
bill walton wrote:
> For starters, what's a 'system component'? And whatever it is, is this
> the thing that you want go get loaded when the user takes some action?
well it's actua
I'm researching a project that uses a system component loaded on the
page through a custom JS file.
On defined user actions, this component will call a definable JS method,
that i'd like to act in a link_remote_to fashion, to update some
elements of the page.
I'm just getting started with RAILS,
Thanks Brian for this!
That sounds good! A lot of work, but good, thanks for this!
julien
Brian Hogan wrote:
> Controllers are designed (in MVC patterns) to process requests and
> deliver
> responses. Rails-based controllers are designed for HTTP request/
> response.
> The an
Hassan Schroeder wrote:
> On Sun, Oct 12, 2008 at 12:01 AM, Julien Genestoux
> <[EMAIL PROTECTED]> wrote:
>
>> The code that these pollers process looks a lot like some code in
>> methods included in some of my rails application controllers. I wanted
>> to DRY
Hi!
I am creating a application that does a lot of background processing.
For this I am using a queue (starling in my case...) and several pollers
that will get a message from the queue and execute some code
corresponding do it.
The code that these pollers process looks a lot like some code in
m
Hello,
I am working on the API of our webservice. API users need to
authenticate some of their calls...
When I am performig the call through Firefox, everything is fine as
shown in the log :
Processing OwnershipsController#new (for 67.207.118.174 at 2008-09-26
16:20:03) [GET]
Session ID:
BAh7B
37 matches
Mail list logo