Example:
School embeds_many :students
In rails console:
School.first.students.order_by(:name.asc, :email.desc)
Works with name. but why ordering from second field (email) not work?? It's
a bug?
I opened an issue in mongoid gem, but maybe it's a mongodb problem insted
https://github.com/mongoid/m
Coffee is good
We can do this in cofee
boxPerson = '
any thing
'
Coffe support breakline.. we can do identation.
We can make beautifull views with coffee. In javascript its impossible.
Its my point
Em 03/03/2014 15:40, escreveu:
> I was very resistant to it at first, as well. As i
I think oposite
in js true == "true" // this return true
in coffee true == "true" # return false
in js we need true ==*=* "true" // only this return false
I think if coffee is bad, javascript is worst.
2014-03-01 14:28 GMT-03:00 deepak :
> agree, no explanation needed.
>
>
> On Saturday, Marc
why?
2014-03-01 13:05 GMT-03:00 :
> Yea, that's all I wanted to say.
>
> --
> 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 from it, send an
> email to rubyonrails-talk+unsubscr.
on Rails: Talk" group.
> To post to this group, send email to rubyonrails-talk@googlegroups.com.
> To unsubscribe from this group, send email to
> rubyonrails-talk+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>
--
Rodrigo Mend
> https://groups.google.com/d/msg/rubyonrails-talk/-/PjOT5x0UFSkJ.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>
--
Rodrigo Mendonça
(62) 8567-3142
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Ta
egroups.com.
> For more options, visit this group at
> http://groups.google.com/group/rubyonrails-talk?hl=en.
>
>
--
Rodrigo Mendonça
(62) 8567-3142
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group,
alk" group.
> To post to this group, send email to rubyonrails-talk@googlegroups.com.
> To unsubscribe from this group, send email to
> rubyonrails-talk+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/rubyonrails-talk?hl=en.
>
>
> >
> >
> >
> >
> > > That's probably the ugliest ruby code I've ever seen.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ruby on Rails: Talk" group.
> To post to this group, send email t
ubyonrails-talk@googlegroups.com.
> To unsubscribe from this group, send email to
> rubyonrails-talk+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/rubyonrails-talk?hl=en.
>
--
Rodrigo Mendonça
(62) 8567-3142
--
You received th
ou 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@googlegroups.com.
> To unsubscribe from this group, send email to
> rubyonrails-talk+unsubscr...@googlegroups.com.
>
it was made in rails 2 but it's works fine for me on rails 3... i fix some
problems in my migration to rails 3, but it was easy
try this https://github.com/springbok/jqgrid-rails3
<https://github.com/springbok/jqgrid-rails3>It's for rails 3
=D
2011/1/10 Mauro
> 2011/1/
I love this datagrid, but i need some extra behaviour like add columns and
improve the filter. The application is mine and will be perfect
But jqgrid is great.. i am very meticulous with my application =D
2011/1/10 Mauro
> 2011/1/10 Rodrigo Mendonça :
> > jqgrid to rails
> > htt
jqgrid to rails
https://github.com/ahe/2dc_jqgrid
<https://github.com/ahe/2dc_jqgrid>I am using this with rails 3... perfect,
but i will develop my own datagrid in future... with jquery offcourse =D
Em 10 de janeiro de 2011 11:15, Rodrigo Mendonça escreveu:
> Extjs is free only
<http://www.trirand.com/blog/jqgrid/jqgrid.html>What else you want?? i will
help you =D
2011/1/10 Mauro
> 2011/1/10 Rodrigo Mendonça :
> > Look at the demos
> > http://jqueryui.com/demos/
>
> Yes I've seen.
> Have you looked at extjs?
> http://dev.sencha.com/depl
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...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.goog
mail to rubyonrails-t...@googlegroups.com.
> To unsubscribe from this group, send email to
> rubyonrails-talk+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/rubyonrails-talk?hl=en.
>
>
--
Rodrigo Mendonça
(62) 8567-
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...@googlegroups.com
> .
> For mor
; .
> For more options, visit this group at
> http://groups.google.com/group/rubyonrails-talk?hl=en.
>
>
--
Rodrigo Mendonça
(62) 8567-3142
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, se
Great!!
when user_id is null (and can be null in some cases)
you can do this
<%post.each do |p|%>
<%=p.user.name unless p.user.nil?%>
<%end>
other way is
<%=p.user.name unless p.user.empty?%>
2010/12/12 Colin Law
> 2010/12/12 Rodrigo Mendonça :
> >
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...@googlegroups.com
> .
> For more options, visit this gro
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...@googlegroups.com
> .
> For more options, visit this
Anyone know if have any plugin like these for Rails 3.0
https://github.com/rmm5t/strip_attributes
--
Rodrigo Mendonça
(62) 8567-3142
--
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 rub
roups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/rubyonrails-talk?hl=en.
>
>
--
Rodrigo Mendonça
(62) 8567-3142
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to t
subscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/rubyonrails-talk?hl=en.
>
>
--
Rodrigo Mendonça
(62) 8567-3142
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" g
can i load these helpers (edit_post, new_post...) inside my plugin
Thanks
--
Rodrigo Mendonça
(62) 8567-3142
--
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...@googl
quot; with <%=controller_name%>
But how can i get "posts"
Sorry for my bad english =/
Thx
--
Rodrigo Mendonça
(62) 8567-3142
--
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
eceived 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...@googlegroups.com
> .
> For
28 matches
Mail list logo