i want to show fullname by using fuction call 'get_user_list' , but
its not working..??
tis s user.rb
(
def full_name
self.first_name + " " + self.last_name
end )
my post controller
( def get_user_list
return User.find(:all, :order => 'last_name ASC').collect {|
i want to show fullname by using fuction call 'get_user_list' , but
its not working..??
tis s user.rb
(
def full_name
self.first_name + " " + self.last_name
end )
my post controller
( def get_user_list
return User.find(:all, :order => 'last_name ASC').collect {|u
d and a
> post_id.
>
> Regards.
>
> Franco Catena.
>
> On Apr 24, 11:51 am, haneef5k wrote:
>
>
>
> > Im trying to see posts index page, In tat im showing category list, im
> > using collect method it show error..
>
> > ActiveRecord::StatementInvalid in P
Im trying to see posts index page, In tat im showing category list, im
using collect method it show error..
ActiveRecord::StatementInvalid in Posts#index
Showing app/views/posts/index.html.erb where line #19 raised:
Mysql::Error: Unknown column 'categories_posts.category_id' in 'on
clause': SELE
hi,
im new to Ror im learning by video tutorial .i wnt to knw how 2 add
drop down menu..r pull down menu... it means ( select: collect.)
pls help..me there s any web site...to learn tis..??
--~--~-~--~~~---~--~~
You received this message because you are subscribe
Now i do some changes in my music_library now its so.,
NoMethodError in PublicController#update
undefined method `artist' for #
On Mar 7, 11:24 pm, Frederick Cheung
wrote:
> On 7 Mar 2009, at 18:10, haneef5k wrote:
>
>
>
> > can u tell me as details..?? abt migration...
can u tell me online tutorial..???
On Mar 7, 10:55 pm, Frederick Cheung
wrote:
> On Mar 7, 4:39 pm, Tod Tod wrote:
>
>
>
> > Logically this kind of chaining
> > Shop.find(2).category.find(10).shop_categories should collect and join
> > appropriate associations and return data only for shop 2.
>
can u tell me as details..?? abt migration...?? and actully im doing
online music_library...
On Mar 7, 11:06 pm, haneef5k wrote:
> Thank for ur reply!! im new to ruby on rails,,im learning by video
> tutorial.
> wat im try to say is if i save the data by album its not redirecting
Thank for ur reply!! im new to ruby on rails,,im learning by video
tutorial.
wat im try to say is if i save the data by album its not redirecting
to the page..??
On Mar 7, 10:59 pm, Frederick Cheung
wrote:
> On Mar 7, 5:57 pm, haneef5k wrote:
>
> > ActiveRecord::Stateme
ActiveRecord::StatementInvalid in PublicController#create
Mysql::Error: Unknown column 'albums.artist' in 'where clause': SELECT
* FROM `albums` WHERE (albums.artist IS NULL) LIMIT 1
--~--~-~--~~~---~--~~
You received this message because you are subscribed to
Hi, Schroeder
Can u tell me,? which editor is best for Ruby on Rails..apps??
On Feb 20, 9:19 pm, Hassan Schroeder
wrote:
> On Fri, Feb 20, 2009 at 8:06 AM, haneef5k wrote:
> > how to change sqlite3 to mysql..??
>
> 1) install MySQL
> 2) install mysql gem
> 3) edi
Can u tell me how to install full RoR complete package with default of
database adapter with mysql .?im getting sqlite3 is default???
On Feb 20, 9:22 pm, Ar Chron wrote:
> If you're just getting started, create your project with:
>
> rails myproject -d mysql
>
> --
> Posted viahttp://www.ruby-fo
Can u tell me how to install full RoR complete package with default of
database adapter with mysql .?im getting sqlite3 is default???
On Feb 20, 9:19 pm, Hassan Schroeder
wrote:
> On Fri, Feb 20, 2009 at 8:06 AM, haneef5k wrote:
> > how to change sqlite3 to mysql..??
>
> 1) in
Thank for reply...
On Feb 20, 9:22 pm, Leonardo Borges wrote:
> Please, be more specific. What error message are u getting?
>
> Anyway, i suspect that it's because u don't have the mysql gem
> installed.
>
> Try installing it: gem install mysql
>
> On
Thank for reply...
On Feb 20, 9:19 pm, Hassan Schroeder
wrote:
> On Fri, Feb 20, 2009 at 8:06 AM, haneef5k wrote:
> > how to change sqlite3 to mysql..??
>
> 1) install MySQL
> 2) install mysql gem
> 3) edit config/database.yml appropriately
> 4) if you've alr
Hi,
im new to ruby on Rails..i install all ror files..if i try to work in
database there is sqlite3 is default.??.. if i change to mysql im
getting error...in localhost development side...??
how to change sqlite3 to mysql..?? help pls..??
--~--~-~--~~~---~--~~
Yo
16 matches
Mail list logo