I am using Rails 3 and Acts as taggable on in my application.
I am fetching the articles associated with the tag by
Article.tagged_with("tagname")
and
Blog.tagged_with("tagname")
Now i would like to collect all the users from the above i.e.., people
who are all posted articles and blogs with t
Hi ,
I am trying to append the string in the helper function .
content_tag(:span, :class => "a") do user.designation end +
content_tag(:span, :class => "b") do user.number end
In the above, i am trying to append strings before the value
user.designation and user.number.
like
do
"Design
Hi ,
i am very new to rails.
I am having a link like
<%= hcard_link_to_user h(@blog.user.fullname), @blog.user, :class =>
"underline" %>
I am trying to call an action on mouse over of this link how to do that
..
Please give suggestions.
Aruna.
--
Posted via http://www.ruby-forum.com/.
--
Hi ,
i am very new to ROR
How to a mouse over light box thing in this link_to .
I tried by getting a lightbox on Click of a button by
<%= pop_up @blog %>
where i added a action in blogs controller
def pop_up
render :partial => 'shared/pop_up', :layout => false, :locals =>
{:node => @blog
Hi, i am trying to call my Rails app using Java code using Jersey
I m having 2 tables .
Blogposts (id,name,slug,desc) Comments (id,data,node_id,node_type)
I m trying to post a comment through my ruby code.
The Url for me is like
http://localhost:3000/api/blogs/comment.xml?slug=blogtitle-0&comme
Roman Hausner wrote in post #160733:
> How can one change the messages that are shown in the flash for
> validates... to different languages?
Hi ,
Me too come across a situation like getting validation messages in
different languages .And done that successfully.
Here is an example :
/app/co
Hi, I am new to rails . i am trying to install gems from the source . I
AM HAVING ClothRed-0.4.1.gem file . How can i install this gem manually
. This .gem file had data.tar.gz and metadata.gz file
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed
Aruna Chinnamuthu wrote:
> HI ,
>
> i am new to ROR
>
> i am writing Ruby code for calling API blogs
>
> i have written ruby code for
>
> Creating the blog by
>
> require 'net/http'
> require 'uri'
>
> url = URI.parse('http:
HI ,
i am new to ROR
i am writing Ruby code for calling API blogs
i have written ruby code for
Creating the blog by
require 'net/http'
require 'uri'
url = URI.parse('http://localhost:3000/api/blogs/create.xml')
req = Net::HTTP::Post.new(url.path)
req.basic_auth 'a', 'a'
req.set_form_data({'bl
Hi ,
I am new to ROR..
I am trying to write a ruby code for the already existing API for blogs
.
For the create action in my blogpost.rb model file
validates_presence_of :title, :category_id, :user_id
validates_length_of :title, :in => 8..140, :too_short => "is too
short", :too_long => "is
hi , i am new to ROR
i was acually trying to write Ruby code for the api blogs
i have written the ruby code as
Loading development environment (Rails 2.3.8)
>> class Blogpost < ActiveRecord::Base
>> has_many :taggings
>> has_many :tags,:through => :taggings
>> end
11 matches
Mail list logo